[Python-Dev] A new dict for Xmas?

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 23 14:07:57 CET 2011

> Consider taking a parsed MiniDOM tree as a benchmark. It contains so
> many instances of just a couple of different classes that it just has to
> make a huge difference if each of those instances is even just a bit
> smaller. It should also make a clear difference for plain Python
> ElementTree.

Of course, for minidom, Mark's current implementation should already
save quite a lot of memory, since all elements and text nodes have the
same attributes.

Still, it would be good to see how Mark's implementation deals with


More information about the Python-Dev mailing list