On Sat, 5 Oct 2013 15:35:30 -0700 Raymond Hettinger <raymond.hettin...@gmail.com> wrote: > > Making bytearray's efficiently pop from the left side is dubious. > This isn't a common idiom, nor should it be. Even if all the > other implementations could model this behavior, it wouldn't > be a good idea to have bytearrays have different performance > characteristics than strings.
Bytearrays are mutable and strings are immutable, so evidently they will have different performance characteristics. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com