Re: finding medians - Mailing list pgsql-hackers

From Dann Corbit
Subject Re: finding medians
Date
Msg-id D90A5A6C612A39408103E6ECDD77B82920CEE0@voyager.corporate.connx.com
Whole thread Raw
In response to finding medians  (Josh Burdick <jburdick@gradient.cis.upenn.edu>)
List pgsql-hackers
Here is a program written in C that demonstrates 2 median/selection
computation techniques:
ACM Algorithm 727 (implementation by Sherif Hashem)
QuickSelect (implemented by me).

Since it is written in C, it would be useful to PostgreSQL project
without any fanfare.
ftp://cap.connx.com/pub/chess-engines/new-approach/727.c

The ACM agorithm 727 is an approximation.
The QuickSelect result is exact.



pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: finding medians
Next
From: Katherine Ward
Date:
Subject: Small changes to facilitate Win32 port