[pypy-svn] pypy default: clarify what does it mean to not have patience
fijal
commits-noreply at bitbucket.org
Mon Dec 20 08:47:37 CET 2010
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r40137:01991d9527cd
Date: 2010-12-20 09:47 +0200
http://bitbucket.org/pypy/pypy/changeset/01991d9527cd/
Log: clarify what does it mean to not have patience
diff --git a/pypy/jit/metainterp/memmgr.py b/pypy/jit/metainterp/memmgr.py
--- a/pypy/jit/metainterp/memmgr.py
+++ b/pypy/jit/metainterp/memmgr.py
@@ -32,6 +32,9 @@
# enough. But in this day and age, you'd still never have the
# patience of waiting for a slowly-increasing 64-bit number to
# overflow :-)
+
+ # According to my estimates it's about 5e9 years given 1000 loops
+ # per second
self.current_generation = r_int64(1)
self.next_check = r_int64(-1)
self.alive_loops = {}
More information about the Pypy-commit
mailing list