Re: patch for getXXX methods

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: patch for getXXX methods
Дата
Msg-id 40F2A8F6.8050700@opencloud.com
обсуждение исходный текст
Ответ на Re: patch for getXXX methods  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: patch for getXXX methods
Список 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 по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: patch for getXXX methods
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: patch for getXXX methods