Hi, I'd like to help working on improving Lucene. How can I help? Le Mercredi 21 Janvier 2004 16:38, Doug Cutting a écrit : > Francesco Bellomi wrote: > > I agree that synchronization in Vector is a waste of time if it isn't > > required, > > It would be interesting to see if such synchronization actually impairs > overall performance significantly. This would be fairly simple to test. > > > but I'm not sure if LinkedList is a better (faster) choice than > > ArrayList. > > Correct. ArrayList is the substitute for Vector. One could also try > replacing Hashtable with HashMap in many places. > > > I think only a profiler could tell. > > I wouldn't trust a profiler for this. Rather, I'd perform benchmarks > before and after the change will best show real performance. A > substantial indexing benchmark and some search benchmarks, searching > fairly large indexes would be good. > > My hunch is that the speedup will not be significant. Synchronization > costs in modern JVMs are very small when there is no contention. But > only measurement can say for sure. > > Doug > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]