[$] Python interpreter adds tail calls
Date:
Wed, 26 Feb 2025 14:18:05 +0000
Description:
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.
======================================================================
Link to news story:
https://lwn.net/Articles/1010905/
--- Mystic BBS v1.12 A47 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)