]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit7957ca11534917b9f5561dda97943209d8fdee91
tree931989f852a357ee9d39cdf5f03a00eda00e72d1
parent9d4005e5c15ef9ae2ec51359c02cc48b66a1e3a6
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.

[originally from svn r9105]
sshbn.c