Vectors in 7.1 ResultSets - Mailing list pgsql-jdbc

From Joseph Shraibman
Subject Vectors in 7.1 ResultSets
Date
Msg-id 3AEE22AD.BA2EE82C@selectacast.net
Whole thread Raw
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: BigDecimal instead of Integer in 7.1
Next
From: Joseph Shraibman
Date:
Subject: Re: BigDecimal instead of Integer in 7.1