Optimization in convert_string_datum?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Optimization in convert_string_datum?
Дата
Msg-id 4638F0C1.1090201@hagander.net
обсуждение исходный текст
Ответы Re: Optimization in convert_string_datum?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'm reviewing the strxfrm patch, and while comparing that code to the
code in varstr_cmp (which uses the same UTF8/UTF16 workaround but for
strcoll instead), and I noticed that in varstr_cmp we have an
optimization to use a stack based buffer instead of palloc if the string
is short enough. Is convert_string_datum performance-critical enough to
make it worthwhile to put a similar optimization there?

//Magnus


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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Feature freeze progress report
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Feature freeze progress report