placeholder

The Log | Where exactly does Python 3.11 get its ~25% Speedup? Part 1: General Optimizations

Python 3.11 was released a few days ago and as usual, it comes with more than a few new features that make it ever more interesting, from exception groups and fine-grained error locations and tracebacks to TOML parsing support in the standard library and of course the much awaited speedup as part of...

Click to view the original at log.beshr.com

Hasnain says:

Time to upgrade!

“CPython 3.11 is 25% faster than CPython 3.10 on average according to benchmarks with pyperformance. The changes that are being done are part of something that Guido called: The "Shannon Plan". For the 3.11 release, the plan was about making a lot of optimizations in two main areas: startup and runtime. The release also includes additional optimizations that are not part of the faster CPython project.”

Posted on 2022-11-04T05:09:40+0000