commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <ASm...@therealm.com>
Subject RE: [collections][PATCH] LRUMap - license, docs update
Date Fri, 15 Feb 2002 14:54:31 GMT
I think that this would mostly involve changing the name and adding a few
simple methods.

How does something get to collections?  


Aaron



> -----Original Message-----
> From: James Strachan [mailto:james_strachan@yahoo.co.uk]
> Sent: Friday, February 15, 2002 8:11 AM
> To: Jakarta Commons Developers List
> Subject: Re: [collections][PATCH] LRUMap - license, docs update
> 
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message