[issue18813] Speed up slice object processing
Stefan Behnel
report at bugs.python.org
Thu Aug 22 23:22:44 CEST 2013
Stefan Behnel added the comment:
Another patch, originally proposed in issue10227 by Kristján Valur Jónsson. It uses local variables instead of pointers in PySlice_GetIndicesEx(). I see no performance difference whatsoever (Linux/gcc 4.7), but also I can't see a reason not to do this. I think it cleans up the code a bit.
----------
Added file: http://bugs.python.org/file31423/use_locals_in_PySlice_GetIndicesEx.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18813>
_______________________________________
More information about the Python-bugs-list
mailing list