]> git.codecow.com Git - Monocypher.git/commit
confirmed that local vars are faster
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 8 Sep 2016 20:29:51 +0000 (22:29 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 8 Sep 2016 20:29:51 +0000 (22:29 +0200)
commitbee9383d82d22fad05862177630a5fb39edc09e8
treec2713e2f2ef94988c079151d94df331a2cad1b17
parent104b6fe50b117e6cf0a4e2b9e78960fabeb9a82c
confirmed that local vars are faster

It's a bit of a surprise, but on my machine, local variables turn
out to be almost 10% faster than a local array, possibly thanks
to compiler optimizations. (intel core i5 skylake, gcc 5.4, -O2)
chacha20.c