MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
interpreter
Recherche

[$] Python interpreter adds tail calls

mercredi 26 février 2025, 15:18 , par LWN.net
The

Faster CPython project has been working to speed up the Python interpreter
for the past several years. Now, Ken Jin, a member of the project, has merged a

new set of changes that
have been

benchmarked as improving performance by 10% for some architectures.
The only change is switching from using computed goto statements to using
tail calls as part of the implementation of Python's bytecode interpreter — but that change allows
modern compilers to generate significantly better code.
https://lwn.net/Articles/1010905/

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Date Actuelle
lun. 3 mars - 19:58 CET