Pádraig Brady<address@hidden> writes:
For comparison here is an add function that used to be in coreutils:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/getlimits.c;hb=a2be861b#l81
Same thing, very different styles.
I cannot help writing code for high performance. Compact source code is
low on my list. There is only one branch in my code that will not
predict well for typical usage (the on at cy != 0). I suppose many
people find your higher-level and more compact style easier to read.