Re: Which qsort is used - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Which qsort is used
Date
Msg-id 9072.1134499886@sss.pgh.pa.us
Whole thread Raw
In response to Re: Which qsort is used  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-hackers
"Dann Corbit" <DCorbit@connx.com> writes:
> Here is a sort template (that can very easily be turned into a C
> routine).

Right offhand I'd guess this to be a loser on not-quite-sorted input,
because the tests it makes to try to prove the input is already sorted
can add significant overhead before failing.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Which qsort is used
Next
From: Michael Paesold
Date:
Subject: Re: Regression test horology failure