> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: Tuesday, May 28, 2002 5:37 PM
> To: Andrew Sullivan
> Cc: pgsql-general@postgresql.org; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] [GENERAL] Re : Solaris Performance - 64 bit
> puzzle
>
>
> Andrew Sullivan wrote:
> > On Mon, May 27, 2002 at 09:00:43PM -0400, Bruce Momjian wrote:
> > >
> > > TODO updated:
> > >
> > > Add BSD-licensed qsort() for 32-bit Solaris
> >
> > I've received an email noting that someone else ran a test program
> > with the 64 bit library, and had just as bad performance as the 32
> > bit one. I haven't had a chance to look at it yet, but it suggests
> > that the result is still inconclusive. Maybe, if just one more fire
> > goes out here, I can look at it this week.
>
> TODO reverted to be:
>
> Add BSD-licensed qsort() for Solaris
>
> My guess is that your test case didn't tickle the bug.
I am the author of several special sort functions [I wrote the sorting
chapter in this book: http://users.powernet.co.uk/eton/unleashed/].
I would be happy to contribute sort routines to the project under the
Berkeley style license.
Likely (if C++ is allowed) a large efficiency gain can be had through
the use of templates.