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 kristjan.jonsson
Recipients kristjan.jonsson, mark.dickinson, pitrou, scoder, skrah
Date 2011-09-08.15:26:58
SpamBayes Score 0.0007584078
Marked as misclassified No
Message-id <1315495619.2.0.839359391749.issue10227@psf.upfronthosting.co.za>
In-reply-to
Content
I'm afraid I had put this matter _far_ out of my head :)  Seeing the amount of discussion on that other defect (stuff I had already come across and scrathced my head over) I think there is a lot of catching up that I'd need to do and I am unable to give this any priority at the moment.
My original patch sought to even out the slicing performance difference between bytes and bytearray.  bytes objects were very streamlined while other were not.

python.exe -m timeit -n 10000000 -s "x = ((b'x'*10000))" "x[:100]"
10000000 loops, best of 3: 0.125 usec per loop

python.exe -m timeit -n 10000000 -s "x = (bytearray(b'x'*10000))" "x[:100]"
10000000 loops, best of 3: 0.202 usec per loop

Did you take a look at this at all?
History
Date User Action Args
2011-09-08 15:26:59kristjan.jonssonsetrecipients: + kristjan.jonsson, mark.dickinson, pitrou, scoder, skrah
2011-09-08 15:26:59kristjan.jonssonsetmessageid: <1315495619.2.0.839359391749.issue10227@psf.upfronthosting.co.za>
2011-09-08 15:26:58kristjan.jonssonlinkissue10227 messages
2011-09-08 15:26:58kristjan.jonssoncreate