diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-01-15 20:27:20 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-01-15 20:27:20 +0100 |
| commit | 8a46dd8d8e2374fda5a27d2079ef30722ee08000 (patch) | |
| tree | 1e99573f0d8e14dd8f06240c011da80a5fb18329 /src/tests | |
| parent | 3ff6e83491e2da9678af0bc149e450ff87db5e8d (diff) | |
Use the QMap iterator instead of foreach(key, map.keys()) in UpdateItemStatesThread::run()
and in VersionControlObserver::slotThreadFinished().
So we get O(n) complexity instead of O(n*logn), and O(1) memory instead of O(n).
Thanks to Thiago Macieira for providing this information.
FIXED-IN: 4.13
REVIEW: 115018
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions
