Ok it seems the speed comes from the fact it uses less allocation since it reuse descriptors or the map, right?
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-05-16 18:47 GMT+02:00 Thomas Vandahl <t...@apache.org>: > On 12.05.14 22:24, Romain Manni-Bucau wrote: >> Hi >> >> why using org.apache.commons.jcs.utils.struct.DoubleLinkedListNode and >> not a synchronized java.util.LinkedList ? >> >> BTW I'd be happy if we can get rid of this synchronized structure > > There are some benchmark tests in the test directory that compare > different approaches. These are not run during the build by default. The > design decision was made based on these benchmarks but things may have > changed with newer JDKs. > > Bye, Thomas. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org