Re: CopyReadLineText optimization

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: CopyReadLineText optimization
Дата
Msg-id 47D0499F.301@enterprisedb.com
обсуждение исходный текст
Ответ на Re: CopyReadLineText optimization  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: CopyReadLineText optimization  (Andrew Dunstan <andrew@dunslane.net>)
Re: CopyReadLineText optimization  (Greg Smith <gsmith@gregsmith.com>)
Re: CopyReadLineText optimization  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan wrote:
> I'm still a bit worried about applying it unless it gets some adaptive
> behaviour or something so that we don't cause any serious performance
> regressions in some cases.

I'll try to come up with something. At the most conservative end, we
could fall back to the current method on the first escape, quote or
backslash character.

> Also, could we perhaps benefit from inlining
> some calls, or is your compiler doing that anyway?

gcc does inline all static functions that are only called from one site,
  and small functions, using some heuristic. I don't think more
aggressive inlining would help.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: CopyReadLineText optimization
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: CopyReadLineText optimization