Author: Maciej Fijalkowski <[email protected]>
Branch: gc_no_cleanup_nursery
Changeset: r73356:6fc92c728d84
Date: 2014-09-06 19:12 -0600
http://bitbucket.org/pypy/pypy/changeset/6fc92c728d84/
Log: hint for ll_mul
diff --git a/rpython/rtyper/rlist.py b/rpython/rtyper/rlist.py
--- a/rpython/rtyper/rlist.py
+++ b/rpython/rtyper/rlist.py
@@ -1014,7 +1014,8 @@
return res
ll_inplace_mul.oopspec = 'list.inplace_mul(l, factor)'
-
[email protected]_inside_iff(lambda _, l, factor: jit.isvirtual(l) and
+ jit.isconstant(factor) and factor < 10)
def ll_mul(RESLIST, l, factor):
length = l.ll_length()
if factor < 0:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit