On Thu, Jul 16, 2015 at 4:01 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> Attached patch adds a portable Postgres wrapper on the GCC intrinsic.
> It also adds a client within tuplesort.c -- a common function that
> seems like a good generic choke point. I can get a speed-up of 6% - 9%
> for all of these cases by prefetching a few SortTuples ahead, for the
> "tuple proper". (In-memory sorts only.)
I added a silly bug during last minute clean-up. I attach a V2.
--
Peter Geoghegan