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 <1362491658.78.0.22429576704.issue17343@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
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: <1362491658.78.0.22429576704.issue17343@psf.upfronthosting.co.za>
2013-03-05 13:54:18serhiy.storchakalinkissue17343 messages
2013-03-05 13:54:18serhiy.storchakacreate