[Webkit-unassigned] [Bug 119277] New: Reduce JSC API static value setter/getter overhead
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 30 14:40:25 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119277
Summary: Reduce JSC API static value setter/getter overhead
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: max.hong.shen at gmail.com
To set/get the static value, JSC APIs always call OpaqueJSString::create() to make a thread-safe string copy and pass it to the setXXX/getXXX function which is implemented by the API client. However, the client's setXXX/getXXX doesn't need to know the property name in most case (because they already know the property name). To reduce the overhead, it would be nice to introduce a new JSPropertyAttribute to allow the client decide whether a property name string copy should be created and passed as a parameter.
--
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