[pypy-issue] [issue1206] Extreme slowdown of code part (array.array) operations

mikefc tracker at bugs.pypy.org
Fri Jul 20 11:33:28 CEST 2012


mikefc <coolbutuseless at gmail.com> added the comment:

After chatting with fijal on irc, it appears that the array implementation of 
delitem is a bit of a hack i.e. the array is converted to a list, then an item is 
deleted from the list, and then the list is turned back into an array.

See pypy/module/array/interp_array.py delitem__Array_ANY() which starts with the 
comment "# XXX this is a giant slow hack"

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1206>
________________________________________


More information about the pypy-issue mailing list