[erlang-questions] Optimization help required: find 0,0,1 code in binary

Max Lapshin <>
Wed Feb 9 13:45:42 CET 2011


2011/2/9 Jesper Louis Andersen <>:

>
> I wonder if you can cheat and fast-path the common variant where the
> offset is 0 by handling it outside the functions with the 'Offset'
> parameter. The 'binary' modules (binary:split/2,3) also comes to mind
> as something to try.

But I have to find second offset. This is the problem.


More information about the erlang-questions mailing list