]> granicus.if.org Git - python/commit
Two improvements suggested by Tim Peters: speed up random() since we
authorGuido van Rossum <guido@python.org>
Thu, 10 Jul 1997 15:14:50 +0000 (15:14 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Jul 1997 15:14:50 +0000 (15:14 +0000)
commitd247812521c2f020093d98807da3bcc39e233581
tree5ec162335130e5cb20e7f11d3b28051478579542
parentdb25f32849730915291993ece2023c1645ff73d2
Two improvements suggested by Tim Peters: speed up random() since we
know Python integers are at least 32 bits long; and avoid zeros in
initial seed value.
Lib/whrandom.py