Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

Thanks.  This nice, clean diff is much more reviewable and it looks like what I 
expected.   

The use of  Py_LOCAL_INLINE is new to me since we usually use #define instead, 
but this has a cleaner look to it.  I am unclear on whether all the our target 
compilers support an inline keyword.   If you're sure it works everywhere, 
that's great.  If not, consider going back to ugly defines -- those reliably 
work everywhere.

Also note that this patch puts a lot of faith in branch prediction.  If some 
target processor doesn't support it, or has limited ability to remember 
predictions, or mispredicts, then the code will be slower.

That being said, I'm happy with the patch.   You have a +1 from me.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9915>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to