News for hackers. Stuff that matters.
Re:One Billion Nested Loop Iterations by vocx2tx on Wednesday November 27, 2024 @02:18AM (#42253744)
64 bit mod is much slower than 32 bit mod. Your C program uses int32_t everywhere, while your Go program uses int (which is probably 64 bit on you machine); so this is not a fair comparison. Changing the Go program to use int32 everywhere makes it 35% faster on my machine.

There are no comments on this comment yet.