Message299069
My previous patch to optimize bits_in_digit was
rejected: http://bugs.python.org/issue29782
This leaves this issue open (mathmodule.c):
/* XXX: This routine does more or less the same thing as
* bits_in_digit() in Objects/longobject.c. Someday it would be nice to
* consolidate them. On BSD, there's a library function called fls()
* that we could use, and GCC provides __builtin_clz().
*/
We could still deal with the code duplication without the
complexity of the optimizations in the previous patch. |
|
Date |
User |
Action |
Args |
2017-07-25 12:48:04 | niklasf | set | recipients:
+ niklasf, mark.dickinson, louielu |
2017-07-25 12:48:04 | niklasf | set | messageid: <1500986884.91.0.522602979941.issue31031@psf.upfronthosting.co.za> |
2017-07-25 12:48:04 | niklasf | link | issue31031 messages |
2017-07-25 12:48:04 | niklasf | create | |
|