Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster simd when simd is the previous algo in the chain (1/16 probabi…
…lity): Fugue +26% Whirlpool +40% Hamsi +40%
- Loading branch information
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(1/16)^2 probability not 1/16, roughly 0.4%
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
X16R: (1/16)^2 * 16 (to hit 2 pairs in a sequence) 1/16 (6.4%)
X16S; (1/16)*(1/15) (0.42%)
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong it's (1/16)^2*15, simd as first and last should not be counted.
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result for 82fde399 does not validate on CPU! keccak 40DC5F13A26789BE
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have submitted a fix for the validation errors on some rigs
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
N card?
4670dd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
(1/16)^2 * 15 to find one pair in the sequence (5.8%)
((1/16)^2 * 14)^2 to find two pairs in the sequence (0.3%)
((1/16)^2 * 14)^3 to find three pairs in the sequence...
...
5.8%+0.3%
With 2 pairs in the sequence the gain is 2x bether
5.8%+(0.3%+0.3%)
So we end up with something like 1/16 :)