Author gregory.p.smith
Recipients alex, gregory.p.smith
Date 2013-03-04.02:31:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362364307.38.0.599287133171.issue17343@psf.upfronthosting.co.za>
In-reply-to
Content
The bytes (and bytearray?) version of this should generate memoryview's instead of new bytes objects to avoid a copy.

While not required, It'd be useful if the implementation of this pre-scanned the data internally so that the length of the generated sequence was known up front.  This could imply an internal bitset of vector of split indices is kept for the life of the generator (implementation detail left up to the implementor) if scanning over the input data more than once is undesirable.

Start with a pure python proof of concept to work everywhere, then write a native version.
History
Date User Action Args
2013-03-04 02:31:47gregory.p.smithsetrecipients: + gregory.p.smith, alex
2013-03-04 02:31:47gregory.p.smithsetmessageid: <1362364307.38.0.599287133171.issue17343@psf.upfronthosting.co.za>
2013-03-04 02:31:47gregory.p.smithlinkissue17343 messages
2013-03-04 02:31:46gregory.p.smithcreate