Message403010
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. |
|
Date |
User |
Action |
Args |
2021-10-01 11:21:17 | Mark.Shannon | set | recipients:
+ Mark.Shannon, methane |
2021-10-01 11:21:17 | Mark.Shannon | set | messageid: <1633087277.57.0.188806648124.issue45340@roundup.psfhosted.org> |
2021-10-01 11:21:17 | Mark.Shannon | link | issue45340 messages |
2021-10-01 11:21:17 | Mark.Shannon | create | |
|