I have a newer implementation of CachedSetImpl that improves the performance for "add" + "iteration", however, I need to resolve the following questions before proceeding.
1. For Map, I think that we convert the key to String in one place but not the other. CollectionClassHandler computes key value as "new Fqn(fqn, entry.getKey())" CachedMapImpl computes key value as "AopUtil.constructFqn(getFqn(), key)" 2. I came up with a faster Set implementation, however, I'm using the "Set" values as keys and I'm not converting them to (serializable) String. 3. I modeled the new Set implementation after HashSet, but what if they pass a TreeSet. I'm not sure if we should change the collection support to be implementation class based (separate mappings for HashSet, TreeSet, LinkedHashSet rather than interface Set). 4. The issue with not converting the key value to String is for non-local case and the key value is not serializable. How should we deal with this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921188#3921188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921188 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
