Re: new String(byte[]) performance

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: new String(byte[]) performance
Дата
Msg-id 3DB58E14.2000906@xythos.com
обсуждение исходный текст
Ответ на new String(byte[]) performance  (Teofilis Martisius <teo@teohome.lzua.lt>)
Список pgsql-jdbc

Teofilis Martisius wrote:
> On Mon, Oct 21, 2002 at 07:38:07PM -0700, Barry Lind wrote:
>

>
> Hmm, I know how all this works. I read JDBC driver code. However, I did
> not find much better solution. First, when transfering data from stream,
> the only logical solution is to put int into byte[]. And as far as I
> understand byte[] arrays are already pooled. I doubt it is
> posible/better to read other things than byte[] from the stream.
>

byte[] objects are not pooled.  As for the rest of your email I will
think about the options you have laid out and respond in more detail later.

thanks,
--Barry



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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: new String(byte[]) performance
Следующее
От: "Michael Paesold"
Дата:
Сообщение: Re: new String(byte[]) performance