[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 70x speed-up for seq's common cases

From: Torbjorn Granlund
Subject: Re: 70x speed-up for seq's common cases
Date: Sat, 15 Sep 2012 13:24:52 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix)

Pádraig Brady <address@hidden> writes:

  For comparison here is an add function that used to be in coreutils:;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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]