Go to file
lrn@chromium.org c6e37c5dfb Make Script.prototype.nameOrSourceURL use indexOf search first before trying to match with a RegExp.
This should use Boyer-Moore search with a long string, which is potentially
faster than RegExp search.
The target string is typically, but not guaranteed, at the end of the
source, so for long sources, there will be a lot of characters to skip.

Review URL: http://codereview.chromium.org/6709027

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7263 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-03-18 13:40:48 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
include Fix Array::New(length) in the API to return an array with the provided length. 2011-03-16 19:55:31 +00:00
preparser Use the file opened from argv[1] in preparser-process.cc 2010-12-08 10:47:59 +00:00
samples ARM: Port r7089 to ARM 2011-03-10 13:58:20 +00:00
src Make Script.prototype.nameOrSourceURL use indexOf search first before trying to match with a RegExp. 2011-03-18 13:40:48 +00:00
test Revert r7258 and r7260. 2011-03-18 13:24:38 +00:00
tools * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
.gitignore Strict mode delete of non-configurable property. 2011-02-14 23:41:47 +00:00
AUTHORS Speedup decodeURI/decodeURIComponent by switching from charAt(i) to charCodeAt(i) in Decode. 2011-02-08 13:01:34 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.2.4. 2011-03-17 12:03:20 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
SConstruct * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00