消息 [77913]
Please don't promote this ugly code "len(bin(x).lstrip('-0b'))". It's
not the best way to compute the number of bits... I prefer fredrikj's
proposition (with // 2, few people understand >> 1). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-12-16 14:53:57 | vstinner | 修改 | recipients:
+ vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, pitrou, fredrikj |
| 2008-12-16 14:53:57 | vstinner | 修改 | messageid: <1229439237.61.0.501652826669.issue3439@psf.upfronthosting.co.za> |
| 2008-12-16 14:53:56 | vstinner | 链接 | issue3439 messages |
| 2008-12-16 14:53:56 | vstinner | 创建 | |
|