Re: Which qsort is used
От | Tom Lane |
---|---|
Тема | Re: Which qsort is used |
Дата | |
Msg-id | 2373.1134427657@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Which qsort is used (Neil Conway <neilc@samurai.com>) |
Ответы |
Re: Which qsort is used
Re: Which qsort is used |
Список | pgsql-hackers |
Neil Conway <neilc@samurai.com> writes: > BTW, Luke Lonergan recently posted some performance results for a fairly > efficient public domain implementation of qsort to the bizgres list: > http://lists.pgfoundry.org/pipermail/bizgres-general/2005-December/000294.html As those results suggest, there can be huge differences in sort performance depending on whether the input is random, nearly sorted, nearly reverse sorted, possesses many equal keys, etc. It would be very dangerous to say "implementation A is better than implementation B" without having tested all those scenarios. IIRC, the reason we reject Solaris' qsort is not that it is so bad in the typical case, but that it has some horrible corner-case behaviors. regards, tom lane
В списке pgsql-hackers по дате отправления: