HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by sdegutis | Hacker News Reader
Parent
Full thread
sdegutis
·
Out of curiosity, what's wrong with that line? Why is it slow?
View on HN
CorvusCrypto
·
starting 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.
Reply on news.ycombinator.com