lundi 13 juillet 2015

What is the proper way to compare efficiency of expressions?

Given a pair of expressions A and B that I want to test to see which is more efficient (best time) - is it ok to use timers within each block of code e.g. a loop + expression + timer code. Or is it more appropriate to use an external test suite or a debugger?

Aucun commentaire:

Enregistrer un commentaire