Re: patch for getXXX methods - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: patch for getXXX methods
Date
Msg-id 40F2A8F6.8050700@opencloud.com
Whole thread Raw
In response to Re: patch for getXXX methods  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: patch for getXXX methods
List pgsql-jdbc
Dave Cramer wrote:
> The reason I use the Double.... is because I am assuming it is faster,
> if this is not true, then there is no reason to use your suggestion.

I'd take code clarity over performance benefit -- it's an uncommon case
and the cost of parsing a BigDecimal is likely to be trivial compared to
the other work the driver does.

-O

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: patch for getXXX methods
Next
From: Dave Cramer
Date:
Subject: Re: patch for getXXX methods