[racket-dev] Wrapping loops for TR isn't working, and the type annotations are for the wrong value

From: Neil Toronto (neil.toronto at gmail.com)
Date: Wed Aug 15 10:42:26 EDT 2012

On 08/15/2012 08:39 AM, J. Ian Johnson wrote:
>
> ----- Original Message -----
> From: "Neil Toronto" <neil.toronto at gmail.com>
> To: "Sam Tobin-Hochstadt" <samth at ccs.neu.edu>
>> So then the first value computed is replicated everywhere?  That seems
>> unappealing as well.
>
>> It costs nothing, and if the #:length argument matches the number of
>> iterations, the user never sees it.
>
> Not so, it costs memory leaks if the first value would otherwise be garbage collected.
> -Ian

I hadn't thought of memory leaks. Strike "it costs nothing," then.

Neil ⊥


Posted on the dev mailing list.