This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients methane, serhiy.storchaka, vstinner, yselivanov
Date 2018-01-24.09:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This issue is a matter of CPU vs memory tradeoff. It reminds me the PEP 393: str type doesn't make tradeoff anymore, CPython guarantee that str always use the most efficient storage (least memory) for characters.

But here the tradeoff is different. A dict is mutable, whereas str is immutable ;-)
Date User Action Args
2018-01-24 09:31:37vstinnersetrecipients: + vstinner, methane, serhiy.storchaka, yselivanov
2018-01-24 09:31:37vstinnersetmessageid: <>
2018-01-24 09:31:37vstinnerlinkissue32623 messages
2018-01-24 09:31:37vstinnercreate