Greg Price <gnpr...@gmail.com> added the comment:
Ah OK, that makes sense of it then :) > But the most important thing is that using PyLong_FromUnsignedLong() instead > of _PyLong_FromUnsignedChar() on top of GH-15192 is producing the same > results: striter_next() uses small_ints[] directly. However that's not true > for bytearrayiter_next(): PyLong_FromUnsignedLong() is called there. I think > that's due to how code is profiled so I'm satisfied with these results more > or less. Very interesting! That's a good comparison to have made, too. I agree with your conclusions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37837> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com