[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 13:00:23 PDT 2012


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





--- Comment #7 from Eric Seidel <eric at webkit.org>  2012-10-12 13:01:06 PST ---
I'm not sure I was clear above.  JSC hands WebCore the same StringImpl for constants, every time.  But unfortunately that StringImpl is not marked isAtomic(), so when WebCore needs an AtomicString, it does a hash-lookup from the StringImpl provided by JSC, to find the corresponding "Atomic" StringImpl in WebCore.  That hash lookup is slow, and ideally would be avoided by having a faster way to map from JSC constants to AtomicStrings. :)

-- 
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