+1
Does anyone have any numbers on the performance differences on such a
refactoring? I reckon it wouldn't be that hard to put together a
reasonably representative dataset and test before/after. Who's game?
Erik - the new dad (again :)!
On May 6, 2006, at 2:29 AM, karl wettin wrote:
There are a couple of Vector:s in the code. Is it really necessary to
use this expensive thread safe artifact from the dark ages?
What I really don't get is the need for it in the index package as
IndexWriter already is synchronized. And how often do you modify the
clauses of a BooleanQuery from multiple threads?!
Even Sun recommends Collection.synchronizedList over Vector when
thread
safty is an issue.
I belive that replaced with Linked- and ArrayLists it could save a
whole
bunch of ticks at heavy load.
---------------------------------------------------------------------
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]