Reviewers: rossberg,

Message:
PTAL.

Description:
Avoid bailing out to runtime for short substrings.

This significantly improves the speed for creating short substrings (less than
13 characters) from slices, flat cons strings and external strings.

TEST=string-external-cached.js, string-slices.js


Please review this at http://codereview.chromium.org/8889012/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/ia32/code-stubs-ia32.cc
  M test/mjsunit/string-external-cached.js
  M test/mjsunit/string-slices.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to