diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-09 13:56:32 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-09 13:56:36 +0200 |
commit | dab18f03f725d8a0fc3abb3d5af5f6b8facb5f6b (patch) | |
tree | c1f0600d51d81822713849033cf51d05236de522 /test | |
parent | 8abe79aedd0ba129e0fd3bcd971e8733d22fb3c4 (diff) | |
parent | 81c09ee45caecf8d9daf6766b94cebf54f3f08cd (diff) |
Merge bitcoin/bitcoin#24946: Unroll the ChaCha20 inner loop for performance
81c09ee45caecf8d9daf6766b94cebf54f3f08cd Unroll the ChaCha20 inner loop for performance (Pieter Wuille)
Pull request description:
Unrolling the inner ChaCha20 loop gives a ~15% speedup for me in the CHACHA20_* benchmarks. It's a simple change, this performance helps with RNG generation, and will matter more for BIP324.
ACKs for top commit:
martinus:
tested ACK 81c09ee with clang++ 13.0.1, test `CHACHA20_1MB`:
MarcoFalke:
ACK 81c09ee45caecf8d9daf6766b94cebf54f3f08cd 🍟
Tree-SHA512: 108bd0ba573bb08de92d611e7be7c09a2c2700f9655f44129b87f9b71f7e101dfc6bd345783e7b4b9b40f0b003913cf59187f422da8cdb5b20887f7855b2611a
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions