Peter Eisentraut <peter_e@gmx.net> 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