[Python-Dev] "Micro-optimisations can speed up CPython"
Victor Stinner
victor.stinner at gmail.com
Mon May 29 08:45:19 EDT 2017
More information about the Python-Dev mailing list
Mon May 29 08:45:19 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 ]
Hi, Thank you for the links. - PyObject *value = GETLOCAL(oparg); + PyObject *value = GETLOCAL((unsigned)oparg); Oh, I remember that I proposed to change oparg type to unsigned when Demur wrote the WORDCODE change. I even wrote a patch, but I got a segfault and was unable to understand why. It seems like I should try again, it seems worth it ;-) Victor 2017-05-29 14:13 GMT+02:00 Antoine Pitrou <solipsis at pitrou.net>: > > Hi, > > I hope readers won't get bothered by what is mostly a link to blogpost > (well, two of them :-)), but I suspect there at least 2 or 3 people > who might be interested in the following analysis: > https://www.corsix.org/content/compilers-cpython-interpreter-main-loop > http://www.corsix.org/content/micro-optimisations-can-speed-up-cpython > > Regards > > Antoine. > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com
- 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