Author vstinner
Recipients inada.naoki, serhiy.storchaka, vstinner, yselivanov
Date 2018-01-24.09:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516786297.32.0.467229070634.issue32623@psf.upfronthosting.co.za>
In-reply-to
Content
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 ;-)
History
Date User Action Args
2018-01-24 09:31:37vstinnersetrecipients: + vstinner, inada.naoki, serhiy.storchaka, yselivanov
2018-01-24 09:31:37vstinnersetmessageid: <1516786297.32.0.467229070634.issue32623@psf.upfronthosting.co.za>
2018-01-24 09:31:37vstinnerlinkissue32623 messages
2018-01-24 09:31:37vstinnercreate