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.

Author josh.r
Recipients josh.r, mark.dickinson, scoder, serhiy.storchaka
Date 2018-12-28.14:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546006203.4.0.374005588227.issue35588@roundup.psfhosted.org>
In-reply-to
Content
divmod imposes higher fixed overhead in exchange for operating more efficiently on larger values.

Given the differences are small either way, and using divmod reduces scalability concerns for larger values (which are more likely to occur in code that delays normalization), I'd be inclined to stick with the simpler divmod-based implementation.
History
Date User Action Args
2018-12-28 14:10:04josh.rsetrecipients: + josh.r, mark.dickinson, scoder, serhiy.storchaka
2018-12-28 14:10:03josh.rsetmessageid: <1546006203.4.0.374005588227.issue35588@roundup.psfhosted.org>
2018-12-28 14:10:03josh.rlinkissue35588 messages
2018-12-28 14:10:03josh.rcreate