Re: Performance tweaks

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Ken Geis <kgeis(at)speakeasy(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Performance tweaks
Date: 2005-02-22 22:36:59
Message-ID: 421BB40B.50006@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Lennie De Villiers 2005-02-22 23:05:15 PostGreSQL and Crystal Reports Bug?
Previous Message Oliver Jowett 2005-02-22 22:16:48 Re: Performance tweaks