Re: Performance tweaks

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Performance tweaks
Дата
Msg-id 421BB40B.50006@opencloud.com
обсуждение исходный текст
Ответ на Performance tweaks  (Ken Geis <kgeis@speakeasy.net>)
Список pgsql-jdbc
Ken Geis wrote:
> The sneakier (and less
> likely to be controversial) one was also in PGStream.  I changed the line
>
>         byte[][] answer = new byte[l_nf][0];
> to
>         byte[][] answer = new byte[l_nf][];
>
> This gave ~1% increase on the benchmark I was running.

I have applied this change (and some surrounding rearrangements to avoid
an assignment in the null case, since the initial elements are already
null) to CVS HEAD.

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Performance tweaks
Следующее
От: "Lennie De Villiers"
Дата:
Сообщение: PostGreSQL and Crystal Reports Bug?