Re: PG qsort vs. Solaris

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: PG qsort vs. Solaris
Дата
Msg-id 4522BF94.2050908@sun.com
обсуждение исходный текст
Ответ на Re: PG qsort vs. Solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
>> Is it time to "remove" PG qsort and use libc version for solaris 9, 10...?
> 
> I have no particular desire to introduce a version number check until we
> have to.  If you can show that the newer versions have a qsort that
> substantially *out-performs* ours, it would be worth doing that, but
> merely being competitive isn't enough to make it worth the trouble.
> 

The implementation in the solaris uses same ideas like postgres 
implementation exclude sort array detection. There are small difference  with threshold when median uses 9 items and
thresholdfor insertion 
 
sort. Performance is similarly - no winer (only on sorted array).
Zdenek


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] vcbuild bison check
Следующее
От: Gregory Stark
Дата:
Сообщение: Pie-in-sky dreaming about reworking tuple layout entirely