[jboss-dev-forums] [Design of JBossCache] - Re: Possible optimization of CachedSetImpl

genman do-not-reply at jboss.com
Wed Nov 8 16:06:16 EST 2006


I'll change putObject() to use attach().

As for the existing loop. The loop does go from 0..size, but in practice it will only execute once or twice. The "if (o2 == null) break;" statement is how it breaks out.

Sorry about the unit tests. I should have run the whole suite.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984322#3984322

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984322



More information about the jboss-dev-forums mailing list