Hi Mikeal, after some tests/benchmarks on these algorithms with js:
- brute force
- quick seacrh
- boyer moore and tuned boyer moore
I think that could be possible to add a js implementation for
Buffer.indexOf. The fastest algorithm for small patterns is Boyer-Moore in
usual cases, but I think
On Dec 4, 3:50 pm, rootslab 44ga...@gmail.com wrote:
A little question: in future releases of nodeJs, is it planned to add a
method like '*Buffer.indexOf'* ?
Have you seen buffertools?: https://github.com/bnoordhuis/node-buffertools
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
On Dec 4, 8:28 pm, Mikeal Rogers mikeal.rog...@gmail.com wrote:
we might want to have a conversation about which of these methods should go
in to core. some of them can be optimized, eventually, in C and so they
should really be in core if we hope to do that eventually.
That's fine by me,