Re: qsort, once again - Mailing list pgsql-hackers

From Greg Stark
Subject Re: qsort, once again
Date
Msg-id 87lkv3mu28.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: qsort, once again  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: qsort, once again  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> and here are the results using glibc's qsort, which of course isn't
> quicksort at all but some kind of merge sort:
> ...
> Overall: average cratio 0.63 over 525 tests

That looks better both on average and in the worst case. Are the time
constants that much worse that the merge sort still takes longer?

-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: qsort again (was Re: [PERFORM] Strange Create Index behaviour)
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] A real currency type