[erlang-questions] split_binary simple question

Philip Robinson <>
Sat Jul 28 01:37:49 CEST 2007


On 7/27/07, Caoyuan <> wrote:
> Is there any difference between split_binary/2 and using binary match
> to split it?

Use split_binary/2 if you have binaries larger than about 128MB: there
is a bignum bug in the current binary match code.  (I understand that
this will be fixed in the next point release.)

> I mean the implementation, efficiency, and GC behavior etc.

Interesting question!

Cheers,
Philip



More information about the erlang-questions mailing list