commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@centras.lt>
Subject Re: [Collections] StaticBucketMap not thread safe
Date Wed, 26 Jun 2002 17:50:30 GMT
Ok, I see it will not solve my problem, I will try Patricia, it must be fast
for "big" sets .
----- Original Message -----
From: "Berin Loritsch" <bloritsch@apache.org>
To: "'Juozas Baliuka'" <baliuka@centras.lt>
Cc: <commons-dev@jakarta.apache.org>
Sent: Wednesday, June 26, 2002 7:38 PM
Subject: RE: [Collections] StaticBucketMap not thread safe


> > 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