[erlang-questions] split_binary simple question

Per Gustafsson <>
Sun Jul 8 19:01:45 CEST 2007


Mike McNally wrote:
> Does split_binary/2 make two new copies of the pieces of the binary
> that's split? I would think not, but the documentation (which, it should
> be noted, I have a history of misunderstanding) doesn't say explicitly.
>
>
> --
> [ I love pre-moistened towelettes ] Mike McNally -- 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>   
split_binary/2 does not create two new copies. It creates pointers into 
the original binary.

Per















More information about the erlang-questions mailing list