[pypy-commit] pypy py3.5: oops, unroll this dummy loop

arigo pypy.commits at gmail.com
Sun Sep 23 07:08:38 EDT 2018


Author: Armin Rigo <arigo at 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
 
+ at jit.unroll_safe     # the loop over kwds
 @specialize.arg(2)
 def min_max(space, args, implementation_of):
     w_key = None


More information about the pypy-commit mailing list