[Python-Dev] "Micro-optimisations can speed up CPython"
Serhiy Storchaka
storchaka at gmail.com
Tue May 30 14:38:55 EDT 2017
More information about the Python-Dev mailing list
Tue May 30 14:38:55 EDT 2017
- Previous message (by thread): [Python-Dev] "Micro-optimisations can speed up CPython"
- Next message (by thread): [Python-Dev] "Micro-optimisations can speed up CPython"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
30.05.17 18:38, Guido van Rossum пише: > On Mon, May 29, 2017 at 11:16 PM, Serhiy Storchaka <storchaka at gmail.com > <mailto:storchaka at gmail.com>> wrote: > > 30.05.17 09:06, Greg Ewing пише: > > Steven D'Aprano wrote: > > What does "tp" stand for? Type something, I guess. > > > I think it's just short for "type". There's an old tradition > in C of giving member names a short prefix reminiscent of > the type they belong to. Not sure why, maybe someone thought > it helped readability. > > > In early ages of C structures didn't create namespaces, and member > names were globals. > > > That's nonsense. The reason is greppability. Good reason!
- Previous message (by thread): [Python-Dev] "Micro-optimisations can speed up CPython"
- Next message (by thread): [Python-Dev] "Micro-optimisations can speed up CPython"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list