laziness, impatience, and hubris | |
PerlMonks |
Re^3: Out of Memoryby Anonymous Monk |
on Mar 28, 2013 at 16:04 UTC ( [id://1025993]=note: print w/replies, xml ) | Need Help?? |
5 million nulls, even if it was double byte should take up less than 10 mb of memory no? If array overhead was double that, we're still at 20 mb of memory per copy?
What is it about the workings of this second statement that causes it to consume so much memory? I'd like to understand how that works if anyone happens to know.
In Section
Seekers of Perl Wisdom
|
|