Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid random module function lookups in frequently-called functions. Avoid use of random.choice for binary choices, as it is ~10x slower than 'a if random() > 0.5 else b' on python2.7.
- Loading branch information