From: Kris Jurka <books@ejurka.com>
To: Mikko Tiihonen <mikko.tiihonen@iki.fi>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Query ResultSet parsing speedup patch (resend)
Date: Fri, 6 Oct 2006 12:26:58 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0610061222140.22367@leary2.csoft.net> (raw)
In-Reply-To: <1159567273.19055.7.camel@dual.local>
References: <1159567273.19055.7.camel@dual.local>
On Sat, 30 Sep 2006, Mikko Tiihonen wrote:
> This is a resend since I did not get any feedback to this patch when I
> sent it two months ago. Could someone at least have some recommendations
> what I should do to get this patch evaluated or even applied to the
> official source.
>
I like the change to use VisibleBufferedInputStream. That's a clean way
of avoiding copies. I don't particularly like the number parsing changes
as they're a pretty ugly hack, but I can't deny the performance
improvements (I saw 30-35%). I plan on applying this unless someone
objects.
One bug I found was that you have the wrong bytes.length check in
getFastInt. It can handle one more byte than you specified.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, mikko.tiihonen@iki.fi
Subject: Re: Query ResultSet parsing speedup patch (resend)
In-Reply-To: <Pine.BSO.4.63.0610061222140.22367@leary2.csoft.net>
References: <1159567273.19055.7.camel@dual.local> <Pine.BSO.4.63.0610061222140.22367@leary2.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox