Hey Spencer!<br><br><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;">By the way, ChucK&#39;s memory model is similar to Java&#39;s in that primitive types are allocated on the stack, while anything object-y is on the heap.  In other words, ints, floats, durs, times, complex&#39;s, polars, and empty references won&#39;t have any memory cost after their enclosing scope ends.<br>

</blockquote><div><br>So that means I made a mistake and the temporary variable in a FOR loop doesn&#39;t cause any garbage at all? That&#39;s good news! It also means I made a mistake measuring memory usage some time back, I hope nobody was too badly confused by my remarks there; I honestly thought those leaked.<br>
<br>Oops!<br><br>Kas.<br></div></div><br>