[erlang-questions] Memory allocation HOWTO from Fred

José Valim jose.valim@REDACTED
Sat Nov 9 11:56:19 CET 2013


>
> I've even written small code in .S to preallocate binary when I can guess
> size: https://gist.github.com/maxlapshin/5531424
>

I wonder if it would make sense to expose this as a function in the binary
module? You are not the first one I hear of doing such and once we start to
compile comprehensions directly in Elixir, skipping the erlang abstract
format, we would also need it.

Would the OTP team agree with exposing such functionality?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131109/5b960d34/attachment.htm>


More information about the erlang-questions mailing list