in reply to Re^8: Finding the size of a nested hash in a HoH
in thread Finding the size of a nested hash in a HoH

I was wrong.

In while_each i fetch both key and value, while in for_keys i only betch the keys

As you say, this seems to have great effects when looping through million times.
  • Comment on Re^9: Finding the size of a nested hash in a HoH