lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: What JDK level should lucene code be compatible with?
Date Thu, 16 May 2002 17:51:13 GMT
> From: Andrew C. Oliver
> Eric Fixler wrote:
> > When adding/fixing code in the main source tree?
> We did hold a poll of users on this some months ago  and everyone who 
> responded said 1.2.

Yes, but since then I've seen folks mention that they're using Lucene in JDK
1.1, e.g.:

> Shall we hold a committer vote?  If we 
> up our JDK we can use more efficient collections!

I wouldn't expect big performance improvements.  Someone could experiment by
switching things to use, e.g. HashMap instead of Hashtable, and ArrayList
instead of Vector, but all that would really be saved is some unneeded
synchronization, and synchronization overhead is pretty low in JVMs these

If someone can demonstrate that there is appreciable performance
improvement, that would be a strong reason to remove JDK 1.1 compatibility.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message