(original) (raw)

The str type is immutable, bytearray is not. It's easier to justify optimisations on mutable types, like overallocate lists for example.


Victor