Re: Dynamic Shared Memory stuff - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Dynamic Shared Memory stuff
Date
Msg-id CAM3SWZTMQR=d07eCdWL+aXvJ_N57Cmb1HOJNHD4EAkb+Z+jvkQ@mail.gmail.com
Whole thread Raw
In response to Re: Dynamic Shared Memory stuff  (Jeremy Harris <jgh@wizmail.org>)
List pgsql-hackers
On Sat, Nov 23, 2013 at 4:21 PM, Jeremy Harris <jgh@wizmail.org> wrote:
> Its performance shines on partially- or reverse-sorted input.

Search the archives for the work I did on timsort support a while
back. A patch was posted, that had some impressive results provided
you just considered the number of comparisons (and not TPS when
sorting text), but at the time my sense was that it didn't have broad
enough applicability for me to pursue further. That doesn't mean the
idea wasn't useful, and it certainly doesn't mean that my rough patch
couldn't be improved upon. For one thing, if there was a type that had
a comparator that was, say, an order of magnitude more expensive than
bttextcmp, it would definitely be a big win.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Jeremy Harris
Date:
Subject: Re: Dynamic Shared Memory stuff
Next
From: Vik Fearing
Date:
Subject: Re: CREATE FOREIGN TABLE ( ... LIKE ... )