[Python-Dev] A new dict for Xmas? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Dec 23 14:07:57 CET 2011
- Previous message: [Python-Dev] A new dict for Xmas?
- Next message: [Python-Dev] A new dict for Xmas?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 that.
Regards, Martin
- Previous message: [Python-Dev] A new dict for Xmas?
- Next message: [Python-Dev] A new dict for Xmas?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]