Skip to content

Where does Python 3.11 get its ~25% Speedup? Part 1:General Optimization

log.beshr.com
74 pointsCarbonCycles4 comments
On HN

Comments

I´m loving the Faster CPython project. Just for a reference, I have a project originally written in (very optimized) Python, that has a Rust version. The Rust version is approximately 150% faster in Python 3.10. In Python 3.11 it is 100% faster. This is something incredible as I would prefer to keep it all in Python.

I'm excited to see the performance improvements as well...may be one day we will see a version w/out the GIL.

The following notes are interesting: https://lukasz.langa.pl/5d044f91-49c1-4170-aed1-62b6763e6ad0...

Yeah I would love to hear an update on this, is it still the plan?

This article format is very pleasant to read I think!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.