optimize toAscii function with early exit
GCC is able to see that the branch is useless as it can be done at compile time. Produces shorter assembly with both -O2 and -O3. https://godbolt.org/z/ejhfxh8Tx Signed-off-by: Rosen Penev <rosenp@gmail.com>main
parent
c686bed5f8
commit
7473b4a715
Loading…
Reference in New Issue