Hacker News new | ask | show | jobs
by TickleSteve 4258 days ago
I would agree that this is a test of rand(). There is no significant difference in the workload... other than the library implementations of the rng. All the lower-level compilers (C,Go,Rust) should be producing effectively the same code for this which then calls out to the ir library rng. I strongly suspect the time is dominated by the rng duration. Maybe someone should benchmark the rng??