>>>>> "Peter" == Peter Geoghegan <pg@heroku.com> writes:
Peter> What I find particularly interesting about this patch is that itPeter> makes sorting numerics significantly
fasterthan even sortingPeter> float8 values,
I get a much smaller difference there than you do.
Obvious overheads in float8 comparison include having to check for NaN,
and the fact that DatumGetFloat8 on 64bit doesn't get inlined and forces
a store/load to memory rather than just using a register. Looking at
those might be more beneficial than messing with abbreviations.
--
Andrew (irc:RhodiumToad)