[pypy-svn] r62626 - pypy/branch/pyjitpl5/pypy/module/pypyjit
fijal at codespeak.net
fijal at codespeak.net
Fri Mar 6 02:50:38 CET 2009
Author: fijal
Date: Fri Mar 6 02:50:37 2009
New Revision: 62626
Modified:
pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py
Log:
pom pom pom. see range object (at least some of that). this makes
for i in range(xxx) quite efficient
Modified: pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py (original)
+++ pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py Fri Mar 6 02:50:37 2009
@@ -114,8 +114,8 @@
pypy.objspace.std.intobject.nonzero__Int)
self.seepath(pypy.interpreter.pyframe.PyFrame.FOR_ITER,
pypy.objspace.descroperation.DescrOperation.next,
- pypy.objspace.std.rangeobject.next__RangeIter)
-# pypy.objspace.std.rangeobject.)
+ pypy.objspace.std.rangeobject.next__RangeIter,
+ pypy.objspace.std.rangeobject.W_RangeListObject.getitem)
#
#self.seepath(pypy.interpreter.pyframe.PyFrame.CALL_FUNCTION,
# pypy.interpreter.function.Function.funccall_valuestack)
More information about the Pypy-commit
mailing list