Message198656
Deleting a slice at the front of a bytearray have linear complexity from the size of a bytearray (in any case del b[:1] is a little faster than b[:1] = b''). I doubt than any performance critical code do it instead of increasing an index in constant time. |
|
Date |
User |
Action |
Args |
2013-09-29 21:49:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner |
2013-09-29 21:49:43 | serhiy.storchaka | set | messageid: <1380491383.51.0.329282138305.issue19087@psf.upfronthosting.co.za> |
2013-09-29 21:49:43 | serhiy.storchaka | link | issue19087 messages |
2013-09-29 21:49:43 | serhiy.storchaka | create | |
|