Changes between Version 1 and Version 2 of CodeAndMemoryPerformance


Ignore:
Timestamp:
May 11, 2013, 8:49:52 AM (11 years ago)
Author:
tuan kuranes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodeAndMemoryPerformance

    v1 v2  
    11= Performance =
    22 * Measure and time any code change. (use profilers.)
     3 * Reuse computations and call results as much as possible.
    34 * double check if you can put any test inside a loop outside.
    45 * use empty() over size() when checking if a container is empty