[webkit-dev] Initializing String and AtomicString with literals

Benjamin Poulain benjamin at webkit.org
Fri Aug 24 23:55:11 PDT 2012


On Fri, Aug 24, 2012 at 10:05 PM, Adam Barth <abarth at webkit.org> wrote:

> Thanks!  The wiki page is very helpful.  I wonder if we should
> organize a hack-a-thon to deploy this pattern throughout WebKit.  Is
> there a way the compiler could give us a list of all the code location
> we should update?
>

We may discover interesting patterns and do even more improvements (e.g.:
the new StringBuilder::appendLiteral() or String::startsWith()).
I think the important is to fix the strings that are frequently
instantiated now, and then fix what's remaining in a hack-a-thon.

Cheers,
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120824/35afbf44/attachment.html>


More information about the webkit-dev mailing list