The LRU Memory Cache I contributed in experimental attempts to make a jdk1.4 LinkedHashMap, and failing that, uses a commons LRUHashMap.
I'm one step ahead of ya. -Travis Savo <[EMAIL PROTECTED]> -----Original Message----- From: Hanson Char [mailto:[EMAIL PROTECTED] Sent: Saturday, June 19, 2004 2:24 AM To: 'Turbine JCS Developers List' Subject: LRUMemoryCache 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). Hanson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
