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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to