Hacker News new | ask | show | jobs
by iainmerrick 1961 days ago
The only problem is the weird name. It should just be random().

If there’s a not-so-good-but-faster version, call it fastRandom() or cheapRandom() or randomish() or something like that.