@linwaytin "You mentioned the c code is faster than python. I'm curious how fast it is compared to the python version?" About four times faster.
@araq "When I'm harsh it's usually because I think the poster was harsh too, tit for tat." Funny, the same here. I know net is full of harsh people, but I really am not among them (ask anyone who knows me), unless I feel someone attacks me. I know I misunderstood your replies, which is why I said I was sorry so many times. Anyway, let's forget all that, and let's have fun with Nim. Tomorrow I try reinstall the compiler and let's see. @araq One more question. What did you mean when you wrote, "but the compiler optimizes away the loop entirely"? Should I worry that the compiler can do it also some other time, when I am not expecting this?