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

11 points by iruoy 1 year ago | 5 comments
  • westurner 1 year ago
    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...

    • scns 1 year ago
      Intel uses -o2 or -o3 for Clear Linux packages, depending on which produces faster binaries. Worth checking out, if you want more performance.
      • bravetraveler 1 year ago
        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

        • rurban 1 year ago
          -Os usually is the fastest, better than -Ofast
          • kibibu 1 year ago
            Depends on a bunch of things, including cache sizes