This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients MSeifert, alex, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-04-26.00:41:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493167288.92.0.0955016762374.issue26828@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2017-04-26 00:41:29rhettingersetrecipients: + rhettinger, terry.reedy, vstinner, alex, serhiy.storchaka, MSeifert
2017-04-26 00:41:28rhettingersetmessageid: <1493167288.92.0.0955016762374.issue26828@psf.upfronthosting.co.za>
2017-04-26 00:41:28rhettingerlinkissue26828 messages
2017-04-26 00:41:28rhettingercreate