commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <>
Subject Re: [Collections][SUBMIT] ReferenceMap...take 3...
Date Fri, 19 Jul 2002 01:51:13 GMT
On Wed, 17 Jul 2002, Jack, Paul wrote:

Is there a compelling reason why the autoPurge method uses the internal
structure of the Map?  It looks like it could just synchronize properly
and call purge(); thus it could be implemented in MapUtils as a

How is the hashing performance?  It looks like you're going to run into 
the problems discussed previously on this list, were most objects that 
don't customize their hashCode method will hash to the same buckets.  
That is, if the hashCode is just some memory address (e.g. a multiple of 
8), you'll hash all the objects into the same (tablesize/8) buckets.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message