4 ms·
Out of curiosity, what's wrong with that line? Why is it slow?
by sdegutis 10y ago
Out of curiosity, what's wrong with that line? Why is it slow?
- CorvusCrypto 10y agostarting from inside the arc4random call you have double float multiplication, then cast to uint32, then the arc4rand call, then the double cast for the uint32 result and then a double float division. this adds up in instructions.