Python 3.15 Speeds Up Most Encodings but Slows Base16 Versus 3.14

Python 3.15 delivers large speedups for Base32, Ascii85, Base85, and Base64 encoding, attributed to rewriting those implementations in C. Benchmarks run with pyperformance on an AMD Ryzen 9 7900 desktop under Windows 11 show Base32 completing roughly 135 times faster than in Python 3.14. Ascii85 and Base85 also improved dramatically, with reported speedups of about 69x and 63x. Base16 performance regressed by roughly 22 percent, since that encoding was not rewritten in C and likely still relies on higher-level Python logic. Developers are advised to benchmark their own workloads, especially Base16-heavy applications, and to test across platforms before upgrading.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in