@charliermarsh: We now use full LTO for CPython 3.12 and later in python-build-standalone, which should modestly improve runtime perfor…

X AI KOLs Timeline Tools

Summary

python-build-standalone now uses full LTO for CPython 3.12 and later, which should modestly improve runtime performance. CPython defaults to ThinLTO when building with clang on these versions.

We now use full LTO for CPython 3.12 and later in python-build-standalone, which should modestly improve runtime performance. (Turns out that CPython defaults to ThinLTO when building with clang on 3.12 and later!) https://t.co/Jw0Rp061v6
Original Article
View Cached Full Text

Cached at: 09/21/26, 09:40 PM

We now use full LTO for CPython 3.12 and later in python-build-standalone, which should modestly improve runtime performance.

(Turns out that CPython defaults to ThinLTO when building with clang on 3.12 and later!) https://t.co/Jw0Rp061v6

Similar Articles

Compile-Time Improvements in LLVM 23

Lobsters Hottest

LLVM 23 delivers a 6.75% reduction in compile-time for -O3 builds, driven by key improvements in ADT hash maps, sets, and other components.

Host-Tuned GCC for Faster Compilation

Lobsters Hottest

This blog post explains how to build a host-tuned GCC compiler using profile-guided optimization, LTO, and -O3 to achieve faster compilation times, with detailed instructions and benchmarks.

Zig Builds Are Getting Faster

Mitchell Hashimoto

Zig 0.15 shows significant compile-time improvements over 0.14, with build script compilation dropping from ~7s to ~1.7s and full builds from 41s to 32s, even while still using LLVM. The article highlights progress toward self-hosted backends and incremental compilation.