Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r60466:4787278e28d8 Date: 2013-01-25 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/4787278e28d8/
Log: merge heads diff --git a/rpython/rtyper/rlist.py b/rpython/rtyper/rlist.py --- a/rpython/rtyper/rlist.py +++ b/rpython/rtyper/rlist.py @@ -1042,11 +1042,7 @@ res = RESLIST.ll_newlist(resultlen) j = 0 while j < resultlen: - i = 0 - while i < length: - p = j + i - res.ll_setitem_fast(p, l.ll_getitem_fast(i)) - i += 1 + ll_arraycopy(l, res, 0, j, length) j += length return res # not inlined by the JIT -- contains a loop _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit