Yury Selivanov added the comment: > Fast patch is already implemented in long_mul(). May be we should just use > this function if both arguments are exact int, and apply the switch > optimization inside.
Agree. BTW, what do you think about using __int128 when available? That way we can also optimize twodigit PyLongs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com