+ 2
how to check which version of a code runs faster
how to check which version of a code runs faster in c++, c#
2 odpowiedzi
+ 2
Implement both, mark the initial and final time and make total time = final time - initial time. Spoiler alert: C++ is faster if both programs are optimized.