On Jun 5, Paul said:

>> > 3/8
>> 
>> No, it means 3 out of the 8 buckets allocated have been used.  This
>> doesn't tell you the number of keys, unless (by some terrible
>> misfortune) all your keys have found their way into unique buckets.
>
>Another thing -- does it always tell you how many buckets have been
>allocated? Once I thought it was simplifying the fraction, but that
>doesn't seem right....

The documentation for keys() says that it is used buckets over allocated
buckets -- so I'd say no, it's not a reduced fraction.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
Eruséro Marillion -- wielder of Ringril, known as Hesinaur, the Winter-Sun
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to