+ 2

how to check which version of a code runs faster

how to check which version of a code runs faster in c++, c#

6th Sep 2017, 7:41 PM
Muneeb Zubair Khan
Muneeb Zubair Khan - avatar
1 Réponse
+ 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.
6th Sep 2017, 7:46 PM
Denis Felipe
Denis Felipe - avatar