Author: fijal
Branch:
Changeset: r80269:1a34b3e8080d
Date: 2015-10-16 12:50 +0200
http://bitbucket.org/pypy/pypy/changeset/1a34b3e8080d/
Log: unroll one more function
diff --git a/pypy/module/micronumpy/casting.py
b/pypy/module/micronumpy/casting.py
--- a/pypy/module/micronumpy/casting.py
+++ b/pypy/module/micronumpy/casting.py
@@ -91,6 +91,9 @@
NPY.STRINGLTR: 3, NPY.STRINGLTR2: 3,
UnicodeType.kind: 3, VoidType.kind: 3, ObjectType.kind: 3}
+# this is safe to unroll since it'll only be seen if we look inside
+# the find_result_type
[email protected]_safe
def _use_min_scalar(arrays_w, dtypes_w):
"""Helper for find_result_type()"""
if not arrays_w:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit