[pypy-svn] r78104 - pypy/branch/jit-unroll-loops/pypy/jit/tl
hakanardo at codespeak.net
hakanardo at codespeak.net
Wed Oct 20 07:37:57 CEST 2010
Author: hakanardo
Date: Wed Oct 20 07:37:55 2010
New Revision: 78104
Modified:
pypy/branch/jit-unroll-loops/pypy/jit/tl/pypyjit_demo.py
Log:
Optimize setfield_raw/getfield_raw in the same way as the _gc versions
Modified: pypy/branch/jit-unroll-loops/pypy/jit/tl/pypyjit_demo.py
==============================================================================
--- pypy/branch/jit-unroll-loops/pypy/jit/tl/pypyjit_demo.py (original)
+++ pypy/branch/jit-unroll-loops/pypy/jit/tl/pypyjit_demo.py Wed Oct 20 07:37:55 2010
@@ -70,7 +70,7 @@
buf = Circular()
i = 10
sa = 0
- while i < 20:
+ while i < 20000:
sa += buf[i-2] + buf[i-1] + buf[i] + buf[i+1] + buf[i+2]
i += 1
return sa
More information about the Pypy-commit
mailing list