Re: qsort, once again

From: "Dann Corbit" <DCorbit(at)connx(dot)com>
To: "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:27:33
Message-ID: D425483C2C5C9F49B5B7A41F8944154757D67F@postal.corporate.connx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[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.

Attachment Content-Type Size
DISTRIBS.C application/octet-stream 14.2 KB
MTRAND.H application/octet-stream 352 bytes
COCKUS.C application/octet-stream 7.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2006-03-16 21:31:20 Re: qsort, once again
Previous Message Tom Lane 2006-03-16 21:20:39 Re: qsort, once again