+ 2
If i have two codes and i want to compare those codes which is the best code which things should i note and how i can do this.
4 Answers
+ 20
What is the function of the code?
+ 7
If you want to compare the speed of two pieces of code, you can use timeit:
https://www.sololearn.com/Codes?ordering=Trending&query=timeit
https://www.geeksforgeeks.org/timeit-JUMP_LINK__&&__python__&&__JUMP_LINK-examples/
+ 2
Are you comparing two codes from different languages or just one language?
0
same language.