Thread: Vectors in 7.1 ResultSets

Vectors in 7.1 ResultSets

From
Joseph Shraibman
Date:
Why do the 7.1 ResultSets use Vectors where they used arrays in 7.0.x?
Vectors are slower and create more garbage and have the overhead of
synchronization for every method call.  If there is some reason
pre-sized arrays can't be used then ArrayLists should be used instead.



--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com