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 serhiy.storchaka
Recipients alex, brett.cannon, gregory.p.smith, santoso.wijaya, serhiy.storchaka
Date 2013-03-05.13:54:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Indeed, a bytearray version would require the talked about but not implemented due to complexity (in pep3118) support for locking a buffer from other mutations.

I rather think that a bytearray version can't pre-scan the data. Note that an array for pre-scanned result can be larger than input data (if we split into a large number of small items). Also note that iterative split useful when we do not want to process all input, but only several first items.

Actually I think that in most common cases non-iterative split will be faster than iterative one.
Date User Action Args
2013-03-05 13:54:18serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, gregory.p.smith, alex, santoso.wijaya
2013-03-05 13:54:18serhiy.storchakasetmessageid: <>
2013-03-05 13:54:18serhiy.storchakalinkissue17343 messages
2013-03-05 13:54:18serhiy.storchakacreate