Message374875
I'd be opposed to changing Python's `int` implementation in this way: it adds complication to the codebase and potentially also slows down "normal" cases. If a user knows in advance (a) that they're using a divisor that's highly divisble by 2, and (b) that the division or modulo operation is performance critical, then they can take the appropriate steps to optimize their code. |
|
Date |
User |
Action |
Args |
2020-08-05 11:21:31 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, rhettinger, stutzbach, shlomif2 |
2020-08-05 11:21:31 | mark.dickinson | set | messageid: <1596626491.19.0.117436802239.issue41487@roundup.psfhosted.org> |
2020-08-05 11:21:31 | mark.dickinson | link | issue41487 messages |
2020-08-05 11:21:31 | mark.dickinson | create | |
|