I'll let you draw your own conclusions
I would conclude that your benchmark may be flawed since for empty hashes the $j++ operation is skipped. Maybe that's the reason for the difference?
In reply to Re^2: What is the most efficient way to see if a hash is empty?
by shmem
in thread What is the most efficient way to see if a hash is empty?
by ELISHEVA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |