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
Date 2021-12-01.13:30:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638365448.99.0.213832334161.issue45947@roundup.psfhosted.org>
In-reply-to
Content
To get to the dict (or values array) of an object, we currently need 3 dependent loads.
By placing the dict at a fixed offset, this can be reduced to one.

What was `obj[obj->type->dictoffset]` becomes `obj[FIXED_OFFSET]`

See https://github.com/faster-cpython/ideas/issues/80, specifically
https://github.com/faster-cpython/ideas/issues/80#issuecomment-931504847 for more details.
History
Date User Action Args
2021-12-01 13:30:49Mark.Shannonsetrecipients: + Mark.Shannon
2021-12-01 13:30:48Mark.Shannonsetmessageid: <1638365448.99.0.213832334161.issue45947@roundup.psfhosted.org>
2021-12-01 13:30:48Mark.Shannonlinkissue45947 messages
2021-12-01 13:30:48Mark.Shannoncreate