Hmm, looks like `opt:speed` might interfere with debugging. Maybe we could have
a new optimization flag for increasing speed of debug code? There's a gcc flag
called `-Og` that increases speed without hindering debugging. From
[here](https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)
> -Og - Optimize debugging experience. -Og should be the optimization level of
> choice for the standard edit-compile-debug cycle, offering a reasonable level
> of optimization while maintaining fast compilation and a good debugging
> experience.
# -Og flag
nim c -r --passC:"-Og" g.nim
# Time taken: 9.038736999999999
Run