qsort (was Re: Solaris)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема qsort (was Re: Solaris)
Дата
Msg-id 26779.1051629468@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
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


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Importing from Access 2000?
Следующее
От: Gerhard Hintermayer
Дата:
Сообщение: Re: Backend memory leakage when inserting