mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
a18dd7b788
Adds the string search implementation from v8 which uses naive search if pattern length < 8 or to a specific badness then uses Boyer-Moore-Horspool Added benchmark shows the expected improvements Added option to use ucs2 encoding with Buffer::IndexOf Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/node/pull/2539 |
||
---|---|---|
.. | ||
buffer-base64-decode.js | ||
buffer-base64-encode.js | ||
buffer-bytelength.js | ||
buffer-compare.js | ||
buffer-creation.js | ||
buffer-indexof.js | ||
buffer-iterate.js | ||
buffer-read.js | ||
buffer-slice.js | ||
buffer-tostring.js | ||
buffer-write.js | ||
dataview-set.js |