[erlang-questions] Binary pattern matching and optimization
Mon Nov 24 23:30:16 CET 2008
That is very good indeed. I kind of felt a pang of guilt in posting my
questio, because I thought I should test before asking, so I could see for
myself, but really, I ought to have looked in the docs. Thanks, Vance.
> -----Original Message-----
> From: Vance Shipley [mailto:]
> Sent: Monday, November 24, 2008 16:11
> Cc: Erlang Questions
> Subject: Re: [erlang-questions] Binary pattern matching and optimization
> That seems to be well documented in the efficiancy guide:
> In R12B appending to binaries is optimized.
> On Mon, Nov 24, 2008 at 04:04:26PM -0600, David Mercer wrote:
> } Follow-up question to the converse problem: assembling binaries. If
> } binaries are best handled like lists while reading them, is it also
> } that binaries are best assembled back-to-front like lists, putting the
> } binary chunk onto the beginning of the binary instead of the end?
More information about the erlang-questions