Hanson Char dijo: > In light of Item 30 of Effective Java, ever thought of replacing the > internal home-grown implementation of LRUMemoryCache with something like > the > java.util.LinkedHashMap provided in JDK1.4+, which, as documented in the > javadoc: > > "This kind of map is well-suited to building LRU caches" > > I imagine (ie without proof) the JDK implementation would give the benefit > of a standard, expert implementation with better performance and > correctness (synchronization).
Perhaps we need to stay compatible with J2SDK 1.3. A lot of projects on the ASF stick to this requirement. BTW, in jakarta commons collections we have: http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/org/apache/commons/collections/map/LinkedMap.html I am not sure if this can be used and if this works in 1.3. Best Regards, Antonio Gallardo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
