Message292289
Also, the ifilter() suggestion is a complete non-starter. There is no way to know in advance whether filter will return all the elements of the input or none of them. In the absence of other knowledge, the best strategy is what list.append() already does (a strategy of mild over-allocations, not exceeding 12.5% for large lists). |
|
Date |
User |
Action |
Args |
2017-04-26 00:41:29 | rhettinger | set | recipients:
+ rhettinger, terry.reedy, vstinner, alex, serhiy.storchaka, MSeifert |
2017-04-26 00:41:28 | rhettinger | set | messageid: <1493167288.92.0.0955016762374.issue26828@psf.upfronthosting.co.za> |
2017-04-26 00:41:28 | rhettinger | link | issue26828 messages |
2017-04-26 00:41:28 | rhettinger | create | |
|