Source
- URL: https://x.com/RaykiruS/status/1947664810306638004
- Author: 雷琪如 (@RaykiruS)
- Posted: 2025-07-22 14:27:31
Branch
1/ @RaykiruS
@nicbarkeragain
That’s cool, but also compilers know how to do it as well, sometimes the assembly it generates when it spots a branchless version by itself is better then the one generated by compiling your implementation.
In any case, if someone wants optimization they should measure first