Raymond Hettinger added the comment: No thanks. These aren't really important opcodes. While there may be a modest speed improvement for the same reasons as the previous patch (avoiding unnecessary work), the main reason to do these two patches is because you had suggested it and because it makes the code follow the same patterns used elsewhere. In general, the short opcodes consistently try to use the macro form of calls where ever it is possible or convenient. Also, to my eyes, the patched code looks cleaner because it is easier to see the refcount effects.
That said, I don't care about these two very much, so if you want the improvement and think it is correct, please say so; otherwise, close this and we can leave the code inconsistent in its approach and having it do work that is known to be unnecessary. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com