in reply to Re^4: What is the most efficient way to see if a hash is empty?
in thread What is the most efficient way to see if a hash is empty?
(For the empty hash the format of scalar %hash differs from the "normal" case. Instead of "$count/$buckets" it's simply 0).
The number of buckets seems to be stored in the MAX field.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: What is the most efficient way to see if a hash is empty?
by ELISHEVA (Prior) on Apr 28, 2009 at 11:21 UTC | |
by BrowserUk (Patriarch) on Apr 28, 2009 at 12:23 UTC |