Skip to content

Fedora Cleared to Build Python Package with "-O3" Optimizations

phoronix.com
11 pointsiruoy5 comments
On HN

Comments

From "A collection of compiler optimizations with brief descriptions and examples" https://news.ycombinator.com/item?id=40275850 :

Also, only SO has what specific optimizations are applied for clang's -O1/-O2/-03 args? https://stackoverflow.com/questions/15548023/clang-optimizat...

Intel uses -o2 or -o3 for Clear Linux packages, depending on which produces faster binaries. Worth checking out, if you want more performance.

They also disable journaling and stuff last I looked. It's fine inspiration, but cargo culture has dangers

They make trades that I'm not sure are advisable

-Os usually is the fastest, better than -Ofast

Depends on a bunch of things, including cache sizes

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.