Hello,
Firstly, I want to praise the team that is developing Nim. I have tried various modern languages and I am always coming back to Nim. The combination of speed, understandability and fast prototyping is exactly answering to my needs. There are parts in this language that are complex and that I don't master at all, but my overall experience with Nim is so intuitive that it is like I know already this language. That's awesome.
Now, I have a question. For my hobby project, I wrote a program that generates source codes and compiles them, a lot of them. Right now, on my main computer, a source code compiles in 0.35 seconds without any parameters. When I use -d:release the compilation time decreases between 0.267 to 0.303 seconds.
I was wondering if there are other compilation parameters or tricks that can decrease the compilation time even lower?