in reply to Re: Re: Garbage-collecting with closures
in thread Garbage-collecting with closures
my $foo = 'asdf' x 1000; for (1..900000) { my $outer_sub = sub { my $inner_sub = sub { $foo }; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Garbage-collecting with closures
by Courage (Parson) on Feb 20, 2003 at 19:35 UTC |