Vectors in 7.1 ResultSets

Поиск
Список
Период
Сортировка
Искать

Vectors in 7.1 ResultSets

От:
Joseph Shraibman <jks@selectacast.net>
Дата:
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
FAQ