[Python-Dev] "Micro-optimisations can speed up CPython"

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 30 01:56:09 EDT 2017
David Wilson wrote:
> They're referred to as slots throughout typeobject.c

That's probably where he got the term from. But it really refers
to C-level fields in the type object. Magic methods that don't
correspond to C-level type fields are not called slots.

-- 
Greg


More information about the Python-Dev mailing list