Reviewers: Kevin Millikin,
Message:
Kevin,
may you have a look? If overall approach is fine, I'd stub other platforms
and
add some unit tests.
Next thing I am going to experiment with is to index caches by numbers and
thus
both avoid loading fixed array (StringSearch_cache currently) and enable
cleaning caches on major GCs.
Another minor thing to try is to turn objects into strings and cache them as
well.
Many thanks to Vitaly for pointing out that I can only cache strings, not
objects.
Description:
Introduce fast native caches and use it in String.search.
Please review this at http://codereview.chromium.org/1563005
Affected files:
M src/codegen.h
M src/factory.h
M src/factory.cc
M src/heap.h
M src/heap.cc
M src/ia32/codegen-ia32.h
M src/ia32/codegen-ia32.cc
M src/runtime.h
M src/runtime.cc
M src/string.js
M test/mjsunit/fuzz-natives.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply
to this email with the words "REMOVE ME" as the subject.