A new tail-calling interpreter for significantly better interpreter performance

Please see A new tail-calling interpreter for significantly better interpreter performance · Issue #128563 · python/cpython · GitHub.

Thank you!

24 Likes

Those are some nice looking performance improvements. Based on the magnitude of the improvement, I think it’s worth some complexity and pain to make this an optional build option.

I wonder if using tail-calls for marshal and _pickle could bring significant benefits as well. Speeding up marshal would help Python startup time. Seems a bit similar to protobuf.

7 Likes