Avoid the KMP overhead for simple indexOf() operations. Will look into evaluating...
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Sep 2008 12:30:14 +0000 (12:30 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Sep 2008 12:30:14 +0000 (12:30 +0000)
commitdc91b5f368debb647195a4bb45f1acbdf4b45f98
tree224b57e522cb2e13f7911be1855aad303213bf5f
parent6f5368146b2c49b6cf019d155c4957ef54439fe7
Avoid the KMP overhead for simple indexOf() operations.  Will look into evaluating the best cutoff between a simple search and KMP in the future.  This improves some simple operations ~1.5x.

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