Get the latest tech news
Fedora 41 Looks To "-O3" Optimizations For Its Python Build
A change proposal has been filed for building the CPython interpreter and the Python standard library using the '-O3' compiler optimization flag rather than Fedora's imposed default of the '-O2' optimization level
A change proposal has been filed for building the CPython interpreter and the Python standard library using the "-O3" compiler optimization flag rather than Fedora's imposed default of the "-O2" optimization level. Red Hat engineer Miro HronĨok laid out the change proposal for compiling Fedora 41's Python package using -O3 rather than -O2. This matches upstream Python's release builds going for -O3 while -O2 is just used on Fedora per the distribution's default mandate.
Or read this on Phoronix