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 loewis
Recipients loewis, mark.dickinson, pitrou, rhettinger
Date 2011-09-07.06:07:49
SpamBayes Score 0.0002552422
Marked as misclassified No
Message-id <1315375670.55.0.393326328767.issue12911@psf.upfronthosting.co.za>
In-reply-to
Content
I'm -1 on this approach; I don't think yet another container type is the right solution, given that we have already plenty of them.

If you want to avoid creating large lists, then the StringIO type should already provide that. So I wonder why these functions couldn't be rewritten to use StringIO.

If you really want to use this approach, I'd try to avoid allocating the large list if there are only few substrings. I.e. allocate it only when flushing, and only if the flush is not the final flush.
History
Date User Action Args
2011-09-07 06:07:50loewissetrecipients: + loewis, rhettinger, mark.dickinson, pitrou
2011-09-07 06:07:50loewissetmessageid: <1315375670.55.0.393326328767.issue12911@psf.upfronthosting.co.za>
2011-09-07 06:07:49loewislinkissue12911 messages
2011-09-07 06:07:49loewiscreate