Re: Query ResultSet parsing speedup patch (resend)

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Query ResultSet parsing speedup patch (resend)
Дата
Msg-id Pine.BSO.4.63.0610061222140.22367@leary2.csoft.net
обсуждение исходный текст
Ответ на Query ResultSet parsing speedup patch (resend)  (Mikko Tiihonen <mikko.tiihonen@iki.fi>)
Ответы Re: Query ResultSet parsing speedup patch (resend)
Список pgsql-jdbc

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

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

Предыдущее
От: Michael Paesold
Дата:
Сообщение: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Следующее
От: Luis Vilar Flores
Дата:
Сообщение: Re: bytea memory improvement - test results