If you are on a 64 bit machine, Nim's `int` is 64 bits, C's is 32 bits. Use `int32` for a fair comparison. Seems unlikely to be the cause of the slowdown, but you never know. Definitely an interesting difference to look into. (Factor of 3-4 wtf...)
- Performance Comparison to C in Nested Loops chemist69
- Re: Performance Comparison to C in Nested Loops Araq
