News for hackers. Stuff that matters.
Re:Faster asin() was hiding in plain sight by eska on Wednesday March 11, 2026 @02:09PM (#47339070)
The compiler is often not allowed to rearrange such operations due to a change in intermediate results. So one would have to activate something like fastmath for this code, but that’s probably not desired for all code, so one has to introduce a small library, and so on. Debug builds may be using different compilation flags, and suddenly performance can become terrible while debugging. Performance can also tank because a new compiler version optimizes differently, etc. So in general I don’t think this advice is true.

There are no comments on this comment yet.