Message228197
Pros for x.bits being a view:
- seems slightly cleaner (in my opinion)
- can potentially abstract slicing bits without copying the underlying int (e.g. x.bits[2:][4:])
Pros for x.bits being a function:
- Victor's point
- no need to depreciate x.bit_length
- no need to create a View object and probably faster?
- easier to implement |
|
Date |
User |
Action |
Args |
2014-10-02 10:18:07 | anon | set | recipients:
+ anon, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, martin.panter, serhiy.storchaka, hct, josh.r |
2014-10-02 10:18:07 | anon | set | messageid: <1412245087.41.0.966972273957.issue19915@psf.upfronthosting.co.za> |
2014-10-02 10:18:07 | anon | link | issue19915 messages |
2014-10-02 10:18:07 | anon | create | |
|