[Python-Dev] Optimization (original) (raw)

Victor Stinner victor.stinner at gmail.com
Sat Oct 5 23:06:00 CEST 2013


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

Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131005/d671ffac/attachment.html>



More information about the Python-Dev mailing list