Tom Lane <[EMAIL PROTECTED]> writes: > So basically, glibc's qsort is bad enough that even a > 10%-more-comparisons advantage doesn't save it.
Actually what I was more concerned about was things like on data structures with complex comparison routines. Things like sorting on arrays or ROWs. For that matter it seems to me that sorting on a single column is a pretty unrealistic scenario too. Most of the time I find queries have long lists of columns in the ORDER BY clause. Do those numbers look very different if you have lots of columns or if you're sorting on something like an array or a ROW? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org