Nim checks:off vs -d:release

Viewed 336

I'd like to know what's the difference between both options. At first i thought they would produce the same output, but i have profiled a code using first {.checks:off.} and later -d:release and the difference is notable (release being more faster).

The code in this case is a hot loop with some float operations, one if and array get/set.

2 Answers
Related