[issue26314] interned strings are stored in a dict, a set would use less memory

Gregory P. Smith report at bugs.python.org
Sun Mar 13 03:02:52 EDT 2016


Gregory P. Smith added the comment:

The space for the strings is a fixed cost, the structure used to store them for efficient lookup is the only overhead that can be trimmed and is all in one contiguous allocation.

regardless, i agree, this isn't a large savings. priority low, feel free to drop if it you want.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26314>
_______________________________________


More information about the Python-bugs-list mailing list