Hi,

Somewhat recently, my compile times have ballooned, and i'm not sure if it's 
something i'm doing, something unique to my compiler/environment, or it's 
normal right now for Nim.

My current app used to compile in what seemed to be a few seconds (was barely 
noticeable and i used to wonder what everyone was talking about IRT 
needing/wanting faster compile times) and it's currently taking a little over 4 
minutes, which if you're used to using bad attempts and compiler output as a 
"special" part of your brain, can get a little tedious. :)

My code is reported to be 5,401 LOC of Nim by scc.

I'm compiling with `nim c -r --d:threadsafe -d:useMalloc my_web_app.nim`

My gcc is 14.1.1-7

My cpu is AMD Ryzen 5 2600 (it's also rendering two 1080p cams while compiling)

The only things i can think of that might have changed on my end:

More code over time, but the change in compile time was over a short period of 
time and obvious, and i don't think i wrote _that_ much more code over the same 
short time period.

I may be using more `includes` than i was before this started.

Perhaps my `imports` and `includes` are poorly organized and/or wonky, but it 
compiles, so idk if that's much of an issue for now or not.

I have plenty of `hints` and `warnings` that i have neglected to resolve.

I upgraded my OS somewhat recently which may have moved me to the gcc version i 
report above.

Any ideas?

Thanks 

Reply via email to