debris / tiny-keccak

An implementation of Keccak derived functions specified in FIPS-202, SP800-185 and KangarooTwelve
Creative Commons Zero v1.0 Universal
193 stars 49 forks source link

sick optimization #18

Closed debris closed 7 years ago

debris commented 7 years ago

master:

test keccakf_u64                     ... bench:         550 ns/iter (+/- 77) = 45 MB/s

this branch:

test keccakf_u64                     ... bench:         484 ns/iter (+/- 207) = 51 MB/s
debris commented 7 years ago

so optimization could be observed only on rustc 1.21.0-nightly (1d2a6df38 2017-08-03). On latest nightly there is no difference between this branch and master