V8 can look up symbols faster than strings.
Created attachment 177661 [details] Patch
Comment on attachment 177661 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=177661&action=review > Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp:40 > + v8::Handle<v8::String> key = v8::String::NewSymbol(hiddenCopyMethodName); What is hiddenCopyMethodName all about? Why doesn't this just use V8HiddenValueNames?
@haraken: Would you be willing to make a followup patch to switch from the ad-hoc constant to V8HiddenPropertyName?
(In reply to comment #3) > @haraken: Would you be willing to make a followup patch to switch from the ad-hoc constant to V8HiddenPropertyName? Sure!
Comment on attachment 177661 [details] Patch Clearing flags on attachment: 177661 Committed r136645: <http://trac.webkit.org/changeset/136645>
All reviewed patches have been landed. Closing bug.
Ulan added the optimization to ArrayBufferView; while I reviewed it, I didn't know about V8HiddenPropertyName. Sorry about that.