Changes between Version 1 and Version 2 of CodeAndMemoryPerformance
- Timestamp:
- May 11, 2013, 8:49:52 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeAndMemoryPerformance
v1 v2 1 1 = Performance = 2 2 * Measure and time any code change. (use profilers.) 3 * Reuse computations and call results as much as possible. 3 4 * double check if you can put any test inside a loop outside. 4 5 * use empty() over size() when checking if a container is empty