Re: Which qsort is used

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Which qsort is used
Дата
Msg-id 43A374A5.2060205@paradise.net.nz
обсуждение исходный текст
Ответ на Re: Which qsort is used  ("Luke Lonergan" <llonergan@greenplum.com>)
Список pgsql-hackers
Luke Lonergan wrote:
> Qingqing,
> 
> 
> On 12/15/05 6:33 PM, "Qingqing Zhou" <zhouqq@cs.toronto.edu> wrote:
> 
>>Thanks for Greg "let" me take a second look at qsortB.c - there is
>>paste-and-copy error there, so when it perform recursive sort, it calls
>>glibc's qsort ... Really sorry, and feel a little bit gun-shy now ...
>>
>>After I re-tested it, now BSD qsort is the obvious winner in most
>>situations.
> 
> 
> :-D
> 
> Can you post the new results like the last post?
> 
> - Luke
> 

Here is a result from a dual 0.8G x86 running Freebsd 6.0-RELEASE:

http://homepages.paradise.net.nz/markir/download/sort-fbsd.out

(after patching the bug with qsortB calling qsort). Clearly in this 
case, there is no glibc version, hence I've relabeled the 1st case as 
"native qsort".

Cheers

Mark


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: number of loaded/unloaded COPY rows
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Automatic function replanning