Reviewers: Mads Ager, Vitaly,
Description:
Change the implementation of lastIndexOf method of String. Convert the
strings
in question to Vector<char> or Vector<uc16> and execute simple search
algorithm
on them.
The difference in speed on 500k character string is about 10x.
Please review this at http://codereview.chromium.org/646010
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/runtime.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev