rana icon indicating copy to clipboard operation
rana copied to clipboard

You're rounding down rather than rounding to nearest.

Open DiagonalArg opened this issue 8 months ago • 2 comments

This is 0.5.4. I'm guessing this hasn't changed in 0.5.5:

159073491 iterations (about 1x10^8 hashes) in 95308 seconds. Avg rate 1669 hashes/second

I'd suggest you round to the nearest, rather than rounding down. If you're only going to use one digit, that should be 2x10^8. Maybe even use more digits.

DiagonalArg avatar Apr 09 '25 03:04 DiagonalArg

Hi @DiagonalArg thank you for your suggestion, we are open to new PR with improvements like this one

grunch avatar May 07 '25 20:05 grunch

Sorry @grunch , I don't code; but I do math and made my small contribution here.

DiagonalArg avatar May 10 '25 05:05 DiagonalArg