Re: Patch to improve a few appendStringInfo* calls

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Patch to improve a few appendStringInfo* calls
Дата
Msg-id CAFj8pRBP-_MZKN3CDd1xmds2P_zZiop3iemt1O-1iAmXVELeEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch to improve a few appendStringInfo* calls  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers


2015-12-21 13:58 GMT+01:00 Robert Haas <robertmhaas@gmail.com>:
On Thu, Jul 2, 2015 at 6:08 AM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
>> I left out the changes like
>>
>>> -               appendStringInfoString(&collist, buf.data);
>>> +               appendBinaryStringInfo(&collist, buf.data, buf.len);
>>
>>
>> because they're not an improvement in readablity, IMHO, and they were not
>> in performance-critical paths.
>
> Perhaps we can come up with appendStringInfoStringInfo at some later date.

concatenateStringInfo?

concatStringInfo ?

Pavel

 

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ToDo list update for BRIN indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Experimental evaluation of PostgreSQL's query optimizer