Message143731
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? |
|
Date |
User |
Action |
Args |
2011-09-08 15:26:59 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, mark.dickinson, pitrou, scoder, skrah |
2011-09-08 15:26:59 | kristjan.jonsson | set | messageid: <1315495619.2.0.839359391749.issue10227@psf.upfronthosting.co.za> |
2011-09-08 15:26:58 | kristjan.jonsson | link | issue10227 messages |
2011-09-08 15:26:58 | kristjan.jonsson | create | |
|