Skip to content

Commit

Permalink
Minor performance improvements:
Browse files Browse the repository at this point in the history
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
CodeReclaimers committed Apr 17, 2016
1 parent 11b1046 commit 10162ed

Sorry, this diff is temporarily unavailable due to heavy server load.

Please try again later.

0 comments on commit 10162ed

Please sign in to comment.