Re: improve Chinese locale performance - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: improve Chinese locale performance
Date
Msg-id 51ED1C88.3050009@gmx.net
Whole thread Raw
In response to Re: improve Chinese locale performance  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: improve Chinese locale performance
List 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 by date:

Previous
From: Sawada Masahiko
Date:
Subject: Re: Using ini file to setup replication
Next
From: "ktm@rice.edu"
Date:
Subject: Re: REINDEX checking of index constraints