Re: qsort, once again

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "Dann Corbit" <DCorbit(at)connx(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>, "Jerry Sievers" <jerry(at)jerrysievers(dot)com>
Subject: Re: qsort, once again
Date: 2006-03-16 21:31:20
Message-ID: D425483C2C5C9F49B5B7A41F8944154757D680@postal.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org [mailto:pgsql-hackers-
> owner(at)postgresql(dot)org] On Behalf Of Dann Corbit
> Sent: Thursday, March 16, 2006 1:28 PM
> To: Tom Lane; Jonah H. Harris
> Cc: pgsql-hackers(at)postgresql(dot)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.

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2006-03-16 21:50:33 Re: qsort, once again
Previous Message Dann Corbit 2006-03-16 21:27:33 Re: qsort, once again