This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon, methane
Date 2021-10-01.11:21:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633087277.57.0.188806648124.issue45340@roundup.psfhosted.org>
In-reply-to
Content
A "Normal" Python objects is conceptually just a pair of pointers, one to the class, and one to the dictionary.

With shared keys, the dictionary is redundant as it is no more than a pair of pointers, one to the keys and one to the values.

By adding a pointer to the values to the object, or embedding the values in the object, and fetching the keys via the class, we can avoid creating a dictionary for many objects.

See https://github.com/faster-cpython/ideas/issues/72 for more details.
History
Date User Action Args
2021-10-01 11:21:17Mark.Shannonsetrecipients: + Mark.Shannon, methane
2021-10-01 11:21:17Mark.Shannonsetmessageid: <1633087277.57.0.188806648124.issue45340@roundup.psfhosted.org>
2021-10-01 11:21:17Mark.Shannonlinkissue45340 messages
2021-10-01 11:21:17Mark.Shannoncreate