Peter Eisentraut <[EMAIL PROTECTED]> writes:
> (I sincerely hope that all systems' libcs have optimized paths for the C
> locale.) So we could get rid of this --enable-locale switch
> altogether.
Some experimental evidence to support the claim that --enable-locale has
zero cost would be good before taking this step.
If any hotspots turn up, we could possibly do runtime checks:
if (locale_is_c())
strcmp()
else
strcoll()
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
- [HACKERS] Locale by default? Peter Eisentraut
- Re: [HACKERS] Locale by default? Justin Clift
- Re: [HACKERS] Locale by default? Tom Lane
- Re: [HACKERS] Locale by default? Justin Clift
- Re: [HACKERS] Locale by default? Tatsuo Ishii
- Re: [HACKERS] Locale by default? Peter Eisentraut
- Re: [HACKERS] Locale by default? Hiroshi Inoue
- Re: [HACKERS] Locale by default? Tatsuo Ishii
- Re: [HACKERS] Locale by default? Peter Eisentraut
- Re: [HACKERS] Locale by default? Hiroshi Inoue
- Re: [HACKERS] Locale by default? Peter Eisentraut
- Re: [HACKERS] Locale by default? Tatsuo Ishii
- RE: [HACKERS] Locale by default? Zeugswetter Andreas SB SD
