4 ms·
Really nice tip to know! I've also struggled a lot with slow debug performance, so this will be very handy when I know there's a bug somewhere in a specific reg
by cyber_kinetist 4y ago
Really nice tip to know! I've also struggled a lot with slow debug performance, so this will be very handy when I know there's a bug somewhere in a specific region but can't pinpoint exactly where.
- BenFrantzDale 4y agoYeah, I lost lots of time to switching to a debug build and having to rebuild the whole project since my Debug-build ccache wasn’t warm. The `#pragma` version lets me get my work done quickly and easily.
- jotux 4y agoGCC has something similar: >#pragma GCC optimize ("O3") https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Function-Specific-Option-Pragmas.html#Function-Specific-Option-Pragmas https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Function-Specif...