]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Rejig the bottom-level loops in internal_mul_* to use pointers instead
authorSimon Tatham <anakin@pobox.com>
Tue, 22 Feb 2011 19:09:27 +0000 (19:09 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 22 Feb 2011 19:09:27 +0000 (19:09 +0000)
commitbbcf33d54e7160a18496dc9497534949300310d9
tree931989f852a357ee9d39cdf5f03a00eda00e72d1
parent3e97e7cc9733c1861ea915f88ba1a658e2c3ddd5
Rejig the bottom-level loops in internal_mul_* to use pointers instead
of array indices. You'd hope that compilers could automatically turn
the one representation into the other if it was faster to do so, but
apparently not: even on gcc -O3, this source transformation gains over
15% performance.

git-svn-id: http://svn.tartarus.org/sgt/putty@9105 cda61777-01e9-0310-a592-d414129be87e
sshbn.c