Here's another patch I put together while trying to improve performance
for the customer that bumped into the repeated Describe thing yesterday.
It speeds up ResultSet.getBigDecimal() with the same fastpath
implementation we have for getInt and getLong.
I'm testing this with a test program that reads 10000 rows from a table
with 100 numeric columns, calling getBigDecimal() on each column. This
patch cuts the execution time roughly in half, from 2.4s to 1.2s.
pgsql-jdbc by date
|Next:||From: Kris Jurka||Date: 2009-04-18 23:56:20|
|Subject: Re: Fast BigDecimal|
|Previous:||From: John Lister||Date: 2009-04-16 11:26:25|
|Subject: Re: Query preparation|