in reply to Re^2: Garbage collection problem??
in thread Garbage collection problem??
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Garbage collection problem??
by sgt (Deacon) on Dec 27, 2006 at 22:50 UTC |