Message411384
The Objects/listsort.txt incorrectly implies that it is not possible to compute leading zero bits in O(1) time, using only standard C. For a fixed integer size it can be done, for instance, using de Bruijn sequences. See https://www.chessprogramming.org/BitScan
(The existence of such methods is not as widely known as it ought to be.) |
|
Date |
User |
Action |
Args |
2022-01-23 17:08:12 | chemoelectric | set | recipients:
+ chemoelectric, docs@python |
2022-01-23 17:08:12 | chemoelectric | set | messageid: <1642957692.71.0.50251931352.issue46488@roundup.psfhosted.org> |
2022-01-23 17:08:12 | chemoelectric | link | issue46488 messages |
2022-01-23 17:08:12 | chemoelectric | create | |
|