how to check which version of a code runs faster | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 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 Odpowiedź
+ 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