Open peterhurford opened 1 year ago
Oh, I see what you mean:
Ok I agree I don't need it to be literally as fast as random.choice
as that seems unrealistic but I do think it should be possible to get it much closer. Could even consider using random.choice
directly if we got the seed working right.
This is quite hard to beat:
Where
_randbelow
is defined as:From here.