Re: improve Chinese locale performance

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: improve Chinese locale performance
Дата
Msg-id 51ED1C88.3050009@gmx.net
обсуждение исходный текст
Ответ на Re: improve Chinese locale performance  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: improve Chinese locale performance  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 7/22/13 3:54 AM, Craig Ringer wrote:
> It might be worth looking at gcc's strcoll() implementation. See if it
> performs better when you use the latest gcc, and if not try to improve
> gcc's strcoll() .

I think part of the problem is that we call strcoll for each comparison,
instead of doing strxfrm once for each datum and then just strcmp for
each comparison.  That is effectively equivalent to what the proposal
implements.




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

Предыдущее
От: Sawada Masahiko
Дата:
Сообщение: Re: Using ini file to setup replication
Следующее
От: "ktm@rice.edu"
Дата:
Сообщение: Re: REINDEX checking of index constraints