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

From Dann Corbit
Subject Re: qsort, once again
Date
Msg-id D425483C2C5C9F49B5B7A41F8944154757D680@postal.corporate.connx.com
Whole thread Raw
In response to qsort, once again  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Actually, if you compile with CREATE_DISTRIBS defined, it does define a
main() function and create sample distributions.

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-
> owner@postgresql.org] On Behalf Of Dann Corbit
> Sent: Thursday, March 16, 2006 1:28 PM
> To: Tom Lane; Jonah H. Harris
> Cc: pgsql-hackers@postgresql.org; Jerry Sievers
> Subject: Re: [HACKERS] qsort, once again
>
> [snip]
> > So at least on randomized data, the swap_cnt thing is a serious
loser.
> > Need to run some tests on special-case inputs though.  Anyone have a
> > test suite they like?
> >
> >             regards, tom lane
>
> Here is a distribution maker that will create some torture tests for
> sorting programs.
>
> Lacks a main() function.


pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: qsort, once again
Next
From: "Dann Corbit"
Date:
Subject: Re: qsort, once again