Python Releases Python 3.11 With Big Performance Improvements
High-level programming language Python has announced the stable release of Python 3.11.0 in a blog post on Monday. The 3.11 series is the newest major release of the programming language containing new features and optimizations. Python 3.11 is quite exciting for its multitude of performance improvements, which look much better in the performance department due to the Faster CPython Project. The Python 3.11 version can be 10-60% faster than Python 3.10. Moreover, Pyston and PyPy hold advantages in some areas but CPython seems much more efficient than its prior releases. Some of the main features include adding support for task groups with async I/O, fine-grained error locations in tracebacks, exception groups and except*, support for parsing TOML in the standard library, and various typing changes. The biggest addition among the many individual performance improvements in Python 3.11 is the ‘specializing adaptive interpreter’. The interpreter attempts to analyze running code and replace general bytecodes with type-specific ones, as an object’s type rarely changes. For example, binary operations such as addition and subtraction can be replaced with specialized versions for floats, integers,and strings. As per the official Python benchmark suite, the 3.11 version runs 1.25 times faster than Python 3.10 (as an aggregate measure). Users don’t need to make any code changes for Python programs to benefit from the Python 3.11’s speedups.To know more about the downloads and information on Python 3.11, click here.
The 3.11 series is the newest major release of the programming language, containing new features and optimizations
The 3.11 series is the newest major release of the programming language, containing new features and optimizations
[]
["programming_languages:R", "AI", "ML", "Python", "programming_languages:Python", "R"]
["AI", "ML", "Python", "R", "programming_languages:Python", "programming_languages:R"]
I am fascinated by technology and AI’s implementation in today’s dynamic world. Being a technophile, I am keen on exploring the ever-evolving trends around applied science and innovation.