Re: Performance tweaks - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Performance tweaks
Date
Msg-id 421BB40B.50006@opencloud.com
Whole thread Raw
In response to Performance tweaks  (Ken Geis <kgeis@speakeasy.net>)
List 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 by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Performance tweaks
Next
From: "Lennie De Villiers"
Date:
Subject: PostGreSQL and Crystal Reports Bug?