Hi @mscdex, thanks for the tip, I already know buffertools. Unfortunately, 
I did't have luck to use this module with big patterns.
I have written a couple of pure js algorithms for pattern matching,but 
buffertools doesn't pass my tests and benchmarks, the reason is unknown to 
me.
Then, for now, I can't compare the parsing data rate of buffertools respect 
to qap <https://github.com/rootslab/qap> or bop 
<https://github.com/rootslab/bop>modules ( varying the pattern size, from 
small to very big ).
Anyway, it's not the point, like @mikeal said, it's very interesting to 
discuss a bit  which methods should go in to core. 
I think also that node doesn't need "fat" js algorithms, but generally it's 
not possible to use only a kind of parsing method for all pattern sizes, 
some algorithms require to pre-process patterns, others don't.
@mikeal, is the discussion publicy open about that? ;)
Thanks for your replies.

Il giorno mercoledì 5 dicembre 2012 02:24:17 UTC+1, mscdex ha scritto:
>
> On Dec 4, 3:50 pm, rootslab <[email protected]> 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: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to