[Webkit-unassigned] [Bug 99118] JSC Should atomize constant strings before handing them to WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 12 12:04:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99118





--- Comment #5 from Oliver Hunt <oliver at apple.com>  2012-10-12 12:04:48 PST ---
JSC does intern all string literals in source code.  I'm unsure how feasible sharing jsc's interned strings with AtomicString is (multiple JSC contexts have separate interned strings for the same literal for example).  Also it would require some communication between JSC and WebCore of the sort that would be easier if we weren't having to deal with two JS engines.

That said, what strings are we seeing that aren't being atomised?

There are some ways to optimize these kinds of lookup to avoid hashing in common cases.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list