Python 3.11 vs 3.10 performance
These speedups are awesome, but of course one wonders why they haven't been a low-hanging fruit over the past 25 years.<p>Having read about some of the changes [1], it seems like the python core committers preferred clean over fast implementations and have deviated from this mantra with 3.11.<p>Now let's get a sane concurrency story (no multiprocessing / queue / pickle hacks) and suddenly it's a completely different language!<p>[1] Here are the python docs on what precisely gave the speedups: <a href="https://docs.python.org/3.11/whatsnew/3.11.html#faster-cpython" rel="nofollow">https://docs.python.org/3.11/whatsnew/3.11.html#faster-cpyth...</a><p>[edit] A bit of explanation what I meant by low-hanging fruit: One of the changes is "Subscripting container types such as list, tuple and dict directly index the underlying data structures." Surely that seems like a straight-forward idea in retrospect. In fact, many python (/c) libraries try to do zero-copy work with data structures already, such as numpy.