Message332659
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. |
|
Date |
User |
Action |
Args |
2018-12-28 14:10:04 | josh.r | set | recipients:
+ josh.r, mark.dickinson, scoder, serhiy.storchaka |
2018-12-28 14:10:03 | josh.r | set | messageid: <1546006203.4.0.374005588227.issue35588@roundup.psfhosted.org> |
2018-12-28 14:10:03 | josh.r | link | issue35588 messages |
2018-12-28 14:10:03 | josh.r | create | |
|