![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^4: Best way to allocate some memory firstby LanX (Sage) |
on Dec 03, 2021 at 18:38 UTC ( #11139370=note: print w/replies, xml ) | Need Help?? |
Thanks, but honestly I don't plan looking into the details. I second what Schwern said in the SO discussion: (Only try this if ) You profiled and found a problem. It would need MANY "40KB arrays" to make this count on a modern machine. Whatever a "40KB array" means, arrays hold refs to other types, it's totally unclear what is meant here. This smells like a problem which is best solved with packing into a 40 KB string.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|