scientific-python / faster-scientific-python-ideas

Brainstorm how to make scientific Python ecosystem faster
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

Better compiler flags for C/C++/Cython-based extensions #8

Open itamarst opened 1 month ago

itamarst commented 1 month ago

setuptools (which will be used by at least some people) defaults to -O2 on Linux at least. Switching to -O3 can speed up the code quite decently in some cases.

rgommers commented 1 month ago

I'll note that meson-python uses -O3. scikit-build-core I'm not sure about.