Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r95157:b143f3f8da5d
Date: 2018-09-23 13:08 +0200
http://bitbucket.org/pypy/pypy/changeset/b143f3f8da5d/

Log:    oops, unroll this dummy loop

diff --git a/pypy/module/__builtin__/functional.py 
b/pypy/module/__builtin__/functional.py
--- a/pypy/module/__builtin__/functional.py
+++ b/pypy/module/__builtin__/functional.py
@@ -170,6 +170,7 @@
             w_max_val = w_compare_with
     return w_max_item
 
+@jit.unroll_safe     # the loop over kwds
 @specialize.arg(2)
 def min_max(space, args, implementation_of):
     w_key = None
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to