in reply to Re: Memory leak on definition of anonymous code?
in thread Memory leak on definition of anonymous code?

Yes it will, courtesy of the Parrot VM it will run on, which (AFAIK) uses a mark and sweep type GC.

Makeshifts last the longest.

  • Comment on Re^2: Memory leak on definition of anonymous code?

Replies are listed 'Best First'.
Re: Mark-and-sweep in Parrot
by jonadab (Parson) on Oct 07, 2003 at 12:57 UTC

    [Thinks about this answer for a brief moment.] So, if the GC is built into Parrot... does that mean Ponie will get it too?


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/