diff options
author | Tim Peters <tim.peters@gmail.com> | 2022-01-25 01:06:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 01:06:00 (GMT) |
commit | 7c26472d09548905d8c158b26b6a2b12de6cdc32 (patch) | |
tree | 282ffe1c879e53091e01aa2bd4bce7c7d1f369dd /Python/sysmodule.c | |
parent | b18fd54f8c27e4b2aac222e75ac58aa85e5a7988 (diff) | |
download | cpython-7c26472d09548905d8c158b26b6a2b12de6cdc32.zip cpython-7c26472d09548905d8c158b26b6a2b12de6cdc32.tar.gz cpython-7c26472d09548905d8c158b26b6a2b12de6cdc32.tar.bz2 |
bpo-46504: faster code for trial quotient in x_divrem() (GH-30856)
* bpo-46504: faster code for trial quotient in x_divrem()
This brings x_divrem() back into synch with x_divrem1(), which was changed
in bpo-46406 to generate faster code to find machine-word division
quotients and remainders. Modern processors compute both with a single
machine instruction, but convincing C to exploit that requires writing
_less_ "clever" C code.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions