in reply to Anonymous or normal hashes?

It hardly matters. The hashref actually takes more memory, as you have the overhead of the reference itself. But that's about 12 bytes (or 16 if you have 64 bit pointers) per hash.

Abigail