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

kostia.lopuhin tracker at bugs.pypy.org
Sun Jul 22 17:05:08 CEST 2012


kostia.lopuhin <kostia.lopuhin at gmail.com> added the comment:

Hi Fijal! It seems to me that all the actual work of deleting elements from the 
list is done in AbstractUnwrappedStrategy.delslice method, starting at line 885 
in objspace/std/listobject.py. And I basically copied the logic from here - I 
hope it will be possible to share it between lists and arrays. And I hope it 
will be possible to reuse tests too, for now I just added some that seemed to 
make sense. By tests you mean just testing all different slice cases, and 
checking that the result has the proper value, or something more complex?

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


More information about the pypy-issue mailing list