Hacker News new | ask | show | jobs
by masihyeganeh 4057 days ago
This comparison is unfair. In C# code it's using foreach loop over generic list which is ~4 time slower than for loop over array, but in C++ code it's using pointers (correct me if I'm wrong. I'm not a C++ ninja) which is fastest loop