Message275618
We seem to have ended up with redundant fast path checks for division in longobject.c: long_div has a fast path check, but the long_div slow path calls l_divmod, which then does a second, identical, fast path check. long_mod has similar behaviour. long_divmod, however, has no fast path, so relies on the one from l_divmod.
This patch removes the extra fast path from l_divmod, and then adds a top-level fast path check to long_divmod. |
|
Date |
User |
Action |
Args |
2016-09-10 10:46:13 | mark.dickinson | set | recipients:
+ mark.dickinson |
2016-09-10 10:46:13 | mark.dickinson | set | messageid: <1473504373.09.0.740082667997.issue28060@psf.upfronthosting.co.za> |
2016-09-10 10:46:13 | mark.dickinson | link | issue28060 messages |
2016-09-10 10:46:12 | mark.dickinson | create | |
|