STINNER Victor <[email protected]> added the comment: 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 ;-) ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32623> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
