You may already know that #python 3.11 has been released, claiming 10%-60% performance improvements. How did they achieve this? Optimizations around stack frame allocations and a new specializing adaptive interpreter, which detects type stability in executing Python code. This allows it to make specialized fast path operations that are much faster than their generic counterparts. Read more in the release notes: docs.python.org/3.11/whatsnew/

@weetster Most exciting, from the 3.11 release notes, are the various pieces in place for a future just-in-time compiler (JIT). May catch up with soon in performance.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.