Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Compile with -fno-math-errno. Almost nobody checks errno for math functions, and disabling it can give a huge speedup.


That sets the cmath functions constexpr??


No.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: