----- Original Message -----
From: "Alexis Agahi" <[EMAIL PROTECTED]>
To: "Avalon Dev Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 10:13 AM
Subject: excalibur.cache.TimeMapLRUCache


> Hi,
>
> I've implemented a TimeMapLRUCachePolicy that use a TreeMap with logical
> time to perform LRU "selectVictim" operations.
>
> On large cache this implementation should be really faster (since it uses
a
> log(n) treemap plus an hashmap) than the current LRU implem that is
working
> with a List.
>
> TimeMapLRUCacheTestCase passed correctly unit test.
>
> Running org.apache.avalon.excalibur.cache.test.TimeMapLRUCacheTestCase
> Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,811 sec
>
> (is it the appropriate place to submit code?)

Yes.

Submitted. Thanks you.

>
> Cheers
>
> --
> Al
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to