3 ms·
This looks like it was compiled with `-O0 -g`. It'll be a lot slimmer with `-O1` or even `-Os`. Edit: In fact, GCC 4.6.1 compiles it down to two function calls
by greyfade 15y ago
This looks like it was compiled with `-O0 -g`. It'll be a lot slimmer with `-O1` or even `-Os`.
Edit: In fact, GCC 4.6.1 compiles it down to two function calls and some stack operations - about 15 instructions in all.