3 ms·
I don't agree. I think Python and a few others do a good job by making random range based functions like `randrange` at curbing misuse.
by ddtaylor 6y ago
I don't agree. I think Python and a few others do a good job by making random range based functions like `randrange` at curbing misuse.
- sobriquet9 6y agoFor cases where small statistical differences matter, like Monte-Carlo simulation, the overhead is non-trivial. Linear congruential generator is so simple it can be inlined by the compiler.