> When you are compiling your 400 LOC file, the nim compiler compiles (some) of 
> your imported modules every time making compilation take longer.

Not exactly. Nim does caching so if the C code generated doesn't change that is 
not recompiled.

The difference is that if there is even a small change and the file checksum 
changes, the Nim code will go through the compiling motions again.

I.e. there are 2 things that are cached: Nim files and generated C files. 
incremental compilation would be about intermediary symbol/AST caching for the 
Nim file so it adds granularity to what exists.

Reply via email to