Comment on Fare: Metaprogramming from the ground up: avoid CparentComments−kinghajj17yCan anyone explain why this takes so long to compile? It doesn't look that complicated.Edit: I compiled with "gcc -O3 -s", which took 8 minutes, but the executable is only 4784 bytes.−fp17yThe long compilation time is due to the optimization options. Without optimization it compiles in a few seconds.Yet, the macros leave plenty of space for optimization. See the size of your executable compared to the unoptimized one of qwph above.
Comments
Can anyone explain why this takes so long to compile? It doesn't look that complicated.
Edit: I compiled with "gcc -O3 -s", which took 8 minutes, but the executable is only 4784 bytes.
The long compilation time is due to the optimization options. Without optimization it compiles in a few seconds.
Yet, the macros leave plenty of space for optimization. See the size of your executable compared to the unoptimized one of qwph above.