in reply to
Re^4: Possible useless use of map
in thread
Possible useless use of map
Who said return? Besides, the memory penalty wasnt a memory leak, just memory that was allocated needlessly, then released.
Comment on
Re^5: Possible useless use of map
Replies are listed 'Best First'.
Re^6: Possible useless use of map
by
Marshall
(Canon)
on Mar 30, 2010 at 09:49 UTC
Once Perl has some memory, it never gives it back to the OS. Perl can reuse its memory and it is pretty smart about that. Writing to and using more memory is a penalty as that takes CPU Mips even if it doesn't take disk space.
[reply]
In Section
Seekers of Perl Wisdom