Author: Maciej Fijalkowski <fij...@gmail.com> Branch: space-iterator-improvements Changeset: r47210:a2b808a9a3eb Date: 2011-09-12 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/a2b808a9a3eb/
Log: typo diff --git a/pypy/rpython/lltypesystem/rlist.py b/pypy/rpython/lltypesystem/rlist.py --- a/pypy/rpython/lltypesystem/rlist.py +++ b/pypy/rpython/lltypesystem/rlist.py @@ -269,7 +269,7 @@ l.items = malloc(LIST.items.TO, lengthhint) return l ll_newlist_hint = typeMethod(ll_newlist_hint) -ll_newlist_hint.oopspec = 'newlist(length)' +ll_newlist_hint.oopspec = 'newlist(lengthhint)' # should empty lists start with no allocated memory, or with a preallocated # minimal number of entries? XXX compare memory usage versus speed, and _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit