I am using a hash to iterate over and when I get a hit, I delete the
key:

HashStart: 148/256              #<- start of processing
Pass   1 130  74/256            
Pass   2  41  39/256
Pass   3  23  17/256
Pass   4  11  7/256 
Pass   5   7  0                 # hash is cleared

I don't believe you as an individual have any control over what is
allocated. This is handled by Perl.

Wags ;)


-----Original Message-----
From: John Sands [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 05:30
To: Piers Cawley
Cc: '[EMAIL PROTECTED]'
Subject: Re: how many items in a hash?


--- Piers Cawley <[EMAIL PROTECTED]> wrote:
> Note that the number of used buckets isn't (necessarily) the same as
> the number of items in the hash.

Can you give an example of how they could be different?

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to