Re: Which qsort is used

Поиск
Список
Период
Сортировка
Искать
От
Qingqing Zhou
Тема
Re: Which qsort is used
Дата
Msg-id
Pine.LNX.4.58.0512150005240.31297@josh.db
Ответ на
Re: Which qsort is used (Luke Lonergan)
Список
Дерево обсуждения
Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used Bruce Momjian <pgman@candle.pha.pa.us>
Re: Which qsort is used Neil Conway <neilc@samurai.com>
Re: Which qsort is used Tom Lane <tgl@sss.pgh.pa.us>
Re: Which qsort is used Josh Berkus <josh@agliodbs.com>
Re: Which qsort is used "Luke Lonergan" <llonergan@greenplum.com>
Re: Re: Which qsort is used Bruce Momjian <pgman@candle.pha.pa.us>
Re: Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used "Luke Lonergan" <llonergan@greenplum.com>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used "Luke Lonergan" <llonergan@greenplum.com>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used "Jim C. Nasby" <jnasby@pervasive.com>
Re: Which qsort is used Greg Stark <gsstark@mit.edu>
Re: Which qsort is used Tom Lane <tgl@sss.pgh.pa.us>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: Which qsort is used Marko Kreen <markokr@gmail.com>
Re: Which qsort is used Tom Lane <tgl@sss.pgh.pa.us>

On Wed, 14 Dec 2005, Luke Lonergan wrote:
>
> Overall - I'd say that the BSD routine is showing the best overall results
> when the scale test is included.  The qsortG routine has some significantly
> better performance in certain cases at smaller sort set sizes - it could
> probably be improved for better L2 use, but BSD is already there.
>
> Based on this it seems like we should expose the option to choose the BSD
> qsort routine at configure time.
>

Before we pin down this, I hope more extensive tests on various platforms
could be done. So we could give some suggestions when we should enable the
"--enable-bsdqsort" option. I can post a result on a SunOS machine (but
the problem is that many ppl share this machine) and a windows machine.

Regards,
Qingqing

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: Self-modifying code
От: Tom Lane
Дата:
Сообщение: Re: Self-modifying code
FAQ