3 ms·
Optimizing by hand is rarely the fastest thing to do nowadays. I wonder how the original naive approach fairs with all optimizations turned on for gcc and with
by ebbv 10y ago
Optimizing by hand is rarely the fastest thing to do nowadays. I wonder how the original naive approach fairs with all optimizations turned on for gcc and with realistic input?
- Too 10y agoThe optimization flags used should be good enough. https://github.com/lemire/despacer/blob/master/Makefile https://github.com/lemire/despacer/blob/master/Makefile CFLAGS = -fPIC -std=c99 -O3 -march=native