Author: Alex Gaynor <alex.gay...@gmail.com>
Branch: 
Changeset: r55289:5cc6fbe1c322
Date: 2012-06-03 09:37 -0500
http://bitbucket.org/pypy/pypy/changeset/5cc6fbe1c322/

Log:    unroll this loop

diff --git a/pypy/module/micronumpy/interp_numarray.py 
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -690,6 +690,7 @@
         return self.getitem(offset).convert_to(longdtype).item(
             space)
 
+    @jit.unroll_safe
     def descr_item(self, space, w_arg=None):
         if space.is_w(w_arg, space.w_None):
             if isinstance(self, Scalar):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to