[Python-Dev] A new dict for Xmas? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Dec 16 06:57:06 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 ]
Mark Shannon wrote:
I have a new dict implementation which allows sharing of keys between objects of the same class.
We already have the slots mechanism for memory savings. Have you done any comparisons with that?
Seems to me that slots ought to save even more memory, since it eliminates the per-instance dict altogether rather than just the keys half of it.
-- Greg
- 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 ]