A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-December/115010.html below:

[Python-Dev] A new dict for Xmas?

[Python-Dev] A new dict for Xmas? [Python-Dev] A new dict for Xmas?Greg Ewing greg.ewing at canterbury.ac.nz
Fri Dec 16 06:57:06 CET 2011
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4