Perl: the Markov chain saw | |
PerlMonks |
Re^3: Garbage collection problem??by chromatic (Archbishop) |
on Dec 27, 2006 at 19:36 UTC ( [id://591921]=note: print w/replies, xml ) | Need Help?? |
I actually meant that Perl won't free all of the memory used by lexicals when it leaves the scope because of an optimization. The idea is that the next time control enters the scope, the memory requirements will be similar. Avoiding malloc() calls can improve performance.
In Section
Seekers of Perl Wisdom
|
|