Improve speed of String.replace by around 33% by not constructing
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Dec 2008 09:22:24 +0000 (09:22 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Dec 2008 09:22:24 +0000 (09:22 +0000)
commitbf9d096326368c18b9fae4845b1dd73ae2870dbc
tree31606ad9c7b89953b687e231db3dc7e5ab2e1bee
parentba09ec5e897d009880e5abbcba2562ca852d3c82
Improve speed of String.replace by around 33% by not constructing
sliced strings for the interstices of the matches.  This can be
speeded up further.
Review URL: http://codereview.chromium.org/13614

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@931 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/string.js