[Webkit-unassigned] [Bug 92486] New: [JSC] JSC should cache AtomicStrings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 27 03:41:10 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=92486
Summary: [JSC] JSC should cache AtomicStrings
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: haraken at chromium.org
CC: sam at webkit.org, ggaren at apple.com, abarth at webkit.org,
rniwa at webkit.org
Assume Node::foo(AtomicString& str). Assume JavaScript calls node.foo("bar").
[V8] V8 can cache both Strings and AtomicStrings. "bar" is cached as an AtomicString. When node.foo("bar") is called, the cached AtomicString is passed to Node::foo(). Very efficient.
[JSC] JSC can cache Strings but cannot cache AtomicStrings. "bar" is cached as a String. When node.foo("bar") is called, the cached String has to be converted to AtomicString and then passed to Node::foo().
For more details, please refer to Comment #0 of bug 90276.
--
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