Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Mark Kirkwood wrote:
>> In fact I wonder if using the BSD qsort for *all* platforms might be a
>> good idea - it would provide cross platform consistency and possibly
>> better performance (e.g. It was several times quicker than glibc qsort,
>> when I checked this on Linux last year.... )
> Replacing qsort() on all platforms has a "we know better than the OS"
> feel to it that we try to avoid.
I agree on that --- but when it's provable that we do know better than a
*particular* OS, dropping in the BSD qsort seems like an easy win. Can
anyone back up Mark's finding that the BSD qsort is quicker than glibc's?
regards, tom lane