[Python-Dev] Optimization (original) (raw)
Victor Stinner victor.stinner at gmail.com
Sat Oct 5 23:06:00 CEST 2013
- Previous message: [Python-Dev] Optimization
- Next message: [Python-Dev] Optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] Optimization
- Next message: [Python-Dev] Optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]