On 18 March 2017 at 22:22, Peter Geoghegan <[email protected]> wrote: > > Out of idle curiosity, I decided to generate disassembly of both > macaddr_cmp_internal(), and the patch's abbreviated comparator. The > former consists of 49 x86-64 instructions at -02 on my machine, > totaling 135 bytes of object code. The latter consists of only 10 > instructions, or 24 bytes of object code.
I wonder if there's something that could be optimized out of the normal cmp function but we're defeating some compiler optimizations with all our casts and aliasing. -- greg -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
