Performance gains of the Python 3.14 tail-call interpreter were largely due to benchmark errors

Posted by Ok_Fox_8448@reddit | Python | View on Reddit | 32 comments

I was really surprised and confused by last month's claims of a 15% speedup for the new interpreter. It turned out it was an error in the benchmark setup, caused by a bug in LLVM 19.

See https://blog.nelhage.com/post/cpython-tail-call/ and the correction in https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call

A 5% speedup is still nice though!