3 ms·
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 poi
by masihyeganeh 11y 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