[Python-Dev] Dictionary sparseness
Aahz
aahz@pythoncraft.com
Mon, 5 May 2003 09:52:01 -0400
How about this: when we create read-only dicts, you add an optional
argument that re-packs the dict and optimizes for space or speed. That
way, the dict can be analyzed to provide appropriate results.
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/
"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles: boring syntax, unsurprising semantics,
few automatic coercions, etc etc. But that's one of the things I like
about it." --Tim Peters on Python, 16 Sep 93