<div dir="ltr">On Thu, Oct 2, 2008 at 7:23 AM, Richard O'Keefe <span dir="ltr"><<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Actually, if we had ?HERE, things could get even better.<br>
If the compiler handled constant terms specially (using a<br>
single static copy instead of building a new copy on the<br>
heap), passing ?HERE could be as cheap as passing 42, and<br>
we could pass around one possibly detailed location term<br>
instead of separate module/line arguments. This would be<br>
nice to do for format strings too.<br>
<div><div></div><div class="Wj3C7c"><br>
</div></div></blockquote><div><br>The compiler (and run-time system) in R12B actually already does that. That was one<br>of the highlights of the R12B release.<br><br>/Bjorn<br></div></div>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div>