[erlang-questions] Binary pattern matching and optimization

Vance Shipley vances@REDACTED
Mon Nov 24 23:10:49 CET 2008


David,

That seems to be well documented in the efficiancy guide:

   http://erlang.org/doc/efficiency_guide/binaryhandling.html#4.2

In R12B appending to binaries is optimized.

	-Vance

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 true
}  that binaries are best assembled back-to-front like lists, putting the new
}  binary chunk onto the beginning of the binary instead of the end?



More information about the erlang-questions mailing list