3 ms·
I'm impressed by how fast this algorithm is. I wrote a toy implementation in Go, and it was only ~50ns/op to generate random numbers. And it's very even in dist
by trebor 11y ago
I'm impressed by how fast this algorithm is. I wrote a toy implementation in Go, and it was only ~50ns/op to generate random numbers. And it's very even in distribution, but I'd have to rerun my tests to find the percentage again.
- dminor 11y agoSame here - first thing I wrote in go, just to play with the language: https://github.com/davidminor/gorand https://github.com/davidminor/gorand