LanX has asked for the wisdom of the Perl Monks concerning the following question:
I've just been in a discussion where several 100k of objects are causing a huge memory consumption.
Some colleagues want to refactor the objects (here blessed hashes) into plain hashes, I'm doubting that this will have a big impact.
From my understanding do hashes need a lot of memory, but the extra magic for blessing them shouldn't count much.
Question: Are there any other memory impacts when using objects apart from those displayed by Devel::Peek ?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
PS: FWIW: I suggested to keep the objects and to switch to blessed arrays instead.
update
DISCLAIMER: Not my project ... hence no code available.