in reply to Re: Re: Strange memory growth?
in thread Strange memory growth?

It still get's put inside a block:

$ perl -MO=Deparse -e 'if(1) { $foo = "perl" x 1000000; sleep 5; }' do { $foo = 'perl' x 1000000; sleep 5 };

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Re: Re: Strange memory growth?
by ambrus (Abbot) on Nov 14, 2003 at 20:00 UTC
    You're right, that was silly of me. Also, you would not get a memory growth evry 5 seconds in that case, that would just affect compile time.