4 ms·
> Is it actually better/faster though? For their use case, I would say yes. The article does not talk about general program optimization like -O2/3 does, it's
by ranger_danger 8mo ago
> Is it actually better/faster though?
For their use case, I would say yes. The article does not talk about general program optimization like -O2/3 does, it's about selecting different versions of specific functions depending on which CPU the application is running on.
For example if your program is heavy on image/video processing, using functions that iterate over your buffers, you typically want the fastest method available. A function that can only use MMX/SSE instructions instead of say, AVX2 or AVX-512, is going to be orders of magnitude slower, translating into significant real world FPS differences in performance.