➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 corona10, rhettinger, vstinner
日期 2020-10-27.20:32:54
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1603830774.87.0.273837313385.issue42161@roundup.psfhosted.org>
In-reply-to
内容
> Why did you put _PyLong_GetOne() inside the loop for the fast path and outside the loop for the slow path?

Oh, I didn't notice that the first part was also a loop. I wrote PR 23008 to move the call out of the loop.

I tried to avoid calling the function if it's possible that the variable it not used. But here, it's always used, so it's relevant to move the loop invariant out of the loop ;-)
历史
日期 用户 动作 参数
2020-10-27 20:32:54vstinner修改recipients: + vstinner, rhettinger, corona10
2020-10-27 20:32:54vstinner修改messageid: <1603830774.87.0.273837313385.issue42161@roundup.psfhosted.org>
2020-10-27 20:32:54vstinner链接issue42161 messages
2020-10-27 20:32:54vstinner创建