I'm looking at a lot of the code in Lucene... I assume Vector is used for legacy reasons. In an upcoming version I think it might make sense to migrate to using a LinkedList... since Vector has to do an array copy when it's exhausted.

It's also synchronized which kind of sucks...

I'm seeing this being used in a lot of tight loops so things might be sped up a bit by using Collections ...

Kevin

--

Please reply using PGP:

http://peerfear.org/pubkey.asc

NewsMonster - http://www.newsmonster.org/
Dean in 2004! - http://blog.deanforamerica.com/
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 4D20 40A0 C734 307E C7B4 DCAA 0303 3AC5 BD9D 7C4D
IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to