<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've even written small code in .S to preallocate binary when I can guess size: <a href="https://gist.github.com/maxlapshin/5531424" target="_blank">https://gist.github.com/maxlapshin/5531424</a></div>

</blockquote><div><br></div><div>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.</div>

<div><br></div><div>Would the OTP team agree with exposing such functionality?</div><div><br></div></div></div></div>