commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: [collections][PATCH] LRUMap - license, docs update
Date Fri, 15 Feb 2002 13:11:27 GMT
From: "Aaron Smuts" <ASmuts@therealm.com>
> Or you could use what I put in stratum.

You mean LRUStore thats in the org.apache.stratum.util.lru package? If so
it'd be nice to refactor it into a Map implementation and for ILRUElement to
derive from Map.Entry - and to contribute it to commons-collections ;-)

James

>
> > -----Original Message-----
> > From: Michael Davey - Sun UK Support Engineer
> > [mailto:michael.davey@Sun.COM]
> > Sent: Monday, February 11, 2002 10:53 AM
> > To: Jakarta Commons Developers List
> > Subject: Re: [collections][PATCH] LRUMap - license, docs update
> >
> > James Strachan wrote:
> >
> > [snip]
> >
> > > I've also been pondering a solution to the LRU issue that preserves
the
> > > efficiency of the bubble list (and avoids expensive tree or count-
> > indexing
> > > data structuers) but solves the problem that Aaron found. Still not
had
> > any
> > > bright ideas yet :-(
> > >
> > > Maybe renaming it to FastLRUMap that approximates LRU but isn't
totally
> > > accurate in all circumstances might help?
> >
> > You might want to "borrow" the cache implementations from Jakarta-ORO
> > org.apache.oro.util.  I think CacheLRU isn't as sophisticated as the
> > one in collections, thou.
> >
> > --
> > Michael
> >
> > --
> > To unsubscribe, e-mail:   <mailto:commons-dev-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:commons-dev-
> > help@jakarta.apache.org>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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