<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 25, 2011, at 8:19 PM, Torben Hoffmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Following that you can write it like:<br>set2(N, Bin) -><br><<L:N/bits, _:1, R/bits>> = Bin, % LINE 271<br><<L/bits, 1:1, R/bits>>.<br></span></blockquote></div><div><br></div>on my machine (R15B, R14B04), the warning is still reported.<div>src/foo.erl:271: Warning: NOT OPTIMIZED: sub binary is used or returned<br><div><br class="webkit-block-placeholder"></div><div>
<div>Regards,</div><div>Zabrane</div>
</div>
<br></div></body></html>