diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-28 21:25:44 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-29 08:57:04 -0700 |
commit | 76a38b63269f554f3299e8ddfb1ea335bbc932d5 (patch) | |
tree | 6d719f5c0f2b7b70fa6bc0021b483fa738ef0aba /desktop-widgets/downloadfromdivecomputer.cpp | |
parent | 88738ede30ce9c14d54758b45c48e492bd061ed4 (diff) | |
download | subsurface-76a38b63269f554f3299e8ddfb1ea335bbc932d5.tar.gz |
More optimal search
The linear search to determine that a just downloaded dive was already
downloaded, started from the oldest dive in the logbook. It is, however
more likely that a just downloaded dive is one of the most recently
downloaded. So, just search backwards. Just a trivial performance
improvement.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
0 files changed, 0 insertions, 0 deletions