Message105562
On Tue, May 11, 2010 at 7:42 PM, Daniel Stutzbach
<report@bugs.python.org> wrote:
..
> Isn't that adding an extra check in every case ...
Speaking of micro-optimizations, did you consider a better than naive
algorithm for "Count the number of set bits in n" in your patch?
HAKMEM 169 comes to mind and being a divide and conquer too, it seems
like a good fit. Certainly an overkill if used just for
math.factorial(), but this is probably a useful function to have
around. |
|
Date |
User |
Action |
Args |
2010-05-12 00:38:42 | belopolsky | set | recipients:
+ belopolsky, rhettinger, mark.dickinson, stutzbach |
2010-05-12 00:38:40 | belopolsky | link | issue8692 messages |
2010-05-12 00:38:39 | belopolsky | create | |
|