Re: [pgsql-jdbc] Daily digest v1.2821 (7 messages)

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: [pgsql-jdbc] Daily digest v1.2821 (7 messages)
Дата
Msg-id BANLkTinkiusmCB6APQZ8i8W6OEzS7_sSUg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgsql-jdbc] Daily digest v1.2821 (7 messages)  (John Lister <john.lister@kickstone.com>)
Список pgsql-jdbc
On 5 April 2011 09:26, John Lister <john.lister@kickstone.com> wrote:

> One thing you can do is replace StringBuffer with StringBuilder which
> doesn't do synchronisation and is faster, which is something that could be
> done throughout the driver as at the time I couldn't find any shared
> instances - but requires java1.5

Uncontended synchronization is very cheap on modern JVMs. (Not that we
shouldn't use StringBuilder if we can, but I doubt it'll make a
measurable difference)

Oliver

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

Предыдущее
От: John Lister
Дата:
Сообщение: Re: [pgsql-jdbc] Daily digest v1.2821 (7 messages)
Следующее
От: Daron Ryan
Дата:
Сообщение: PreparedStatement for set membership (The IN operator)