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

Reply via email to