commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: [Collections] StaticBucketMap not thread safe
Date Wed, 26 Jun 2002 17:38:37 GMT
> From: Juozas Baliuka [mailto:baliuka@centras.lt] 
> 
> I am afraid  BucketMap will not be faster, may be for some 
> very special case it is faster ( "small" maps with random numbers).

Faster under multi-threaded access.  If you have one thread asking
for "foo" and another thread asking for "bar" at the same time,
you will not get any contention for the two threads--improving
speed under multithreaded access while maintaining safety.

> 
> It seems we are out of list

Back on.

> 
> 
> > > Is it BucketMapTestCase.java ? I can't find performance 
> test in this 
> > > class.
> >
> > That is because the performance test case was written for something 
> > else (which uses BucketMap), and I never got around to making the 
> > BucketMapPerformanceTestCase.java file.
> >
> 


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message