[erlang-questions] Code vs. binary heap storage

Thomas Lindgren <>
Mon Oct 8 15:49:22 CEST 2007


--- Ciprian Dorin Craciun <>
wrote:

> > Yes, the binary itself will be stored outside of
> the process (provided
> > the size of the binary is > 64).
> 
>     Why would you in fact copy an object if the size
> is smaller than
> 64 bytes? What is the reason for it?

At a guess, doing so is simply a tradeoff versus
allocating and managing small binaries off the global
binary area. So the motivation would be "we have
observed that system performance usually improves by
doing this".

Best,
Thomas



      ____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 





More information about the erlang-questions mailing list