]> Git Repo - cpuminer-multi.git/commit
rainforest: avoid closing the hash when it doesn't match
authorWilly Tarreau <[email protected]>
Sat, 9 Mar 2019 22:02:35 +0000 (23:02 +0100)
committerTanguy Pruvot <[email protected]>
Thu, 14 Mar 2019 13:24:56 +0000 (14:24 +0100)
commita9a6056cde1c73c0646fde905adc507aad092210
treecd3d1903a7accc6c24683e4f0430c2af0d2a05fb
parent3ab11673298ec5e996e637e25af144567bea0495
rainforest: avoid closing the hash when it doesn't match

Drop all hashes which will have one of their highest 16 bits set since
they will not match. This saves 4 calls to rf256_one_round() via
rf256_final() and almost doubles the performance.
algo/rainforest.c
This page took 0.024847 seconds and 4 git commands to generate.