消息 [74750]
> Accidentally removed the following message from Victor Stinner
No problem.
> Is there any good reason to make this a property?
Since numbits() cost is O(n) with n: number of digits. I prefer a
method than a property because, IMHO, reading a property should be
O(1) (*read* an attribute is different than *compute* a value). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-10-14 15:13:41 | vstinner | 修改 | recipients:
+ vstinner, loewis, rhettinger, terry.reedy, mark.dickinson, fredrikj |
| 2008-10-14 15:13:41 | vstinner | 修改 | messageid: <1223997221.34.0.0501711511738.issue3439@psf.upfronthosting.co.za> |
| 2008-10-14 15:13:40 | vstinner | 链接 | issue3439 messages |
| 2008-10-14 15:13:40 | vstinner | 创建 | |
|