Reviewers: ,
Message:
Simple implementation of callSite caching.
String hashing is performed during parsing, while object storage and lookup
is a
runtime operation implemented in JS.
If two different templates result in the same hash key, an array of
duplicates
is searched after key lookup.
If possible, lets simplify this algorithm and ensure it works in all
expected
cases.
Description:
Cache template literal callSiteObj
BUG=v8:3230
Please review this at https://codereview.chromium.org/742643003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+178, -6 lines):
M src/harmony-templates.js
M src/parser.h
M src/parser.cc
M test/mjsunit/harmony/templates.js
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.