Description[builtins] HasOwnProperty: handle non-internalized string keys
Taking the slow runtime path for every non-internalized string key
can be avoided by doing optimistic string table lookups: if there
is a matching entry, use that; if there isn't, then no existing
object has a property with that name.
The hashing/internalizing logic is in C++ and called directly.
Review-Url: https://codereview.chromium.org/2811333002
Cr-Commit-Position: refs/heads/master@{#44650}
Committed: https://chromium.googlesource.com/v8/v8/+/204989a5aa3f6546aa01419cf8d24e7fca1b39f5
Patch Set 1 #Patch Set 2 : fix #
Total comments: 8
Patch Set 3 : address comments #Patch Set 4 : rebased (noop) #
Messages
Total messages: 16 (10 generated)
|