aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindLibdivecomputer.cmake
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-26 19:34:08 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-26 13:54:59 -0700
commit4f438d1e32a8a690c77f7eba8f80711e35e85df5 (patch)
tree6659080d80922bc1bb8a42de53341136d2b45c13 /cmake/Modules/FindLibdivecomputer.cmake
parentf43b3f56b252c2403b072298d4dbd613f03c479f (diff)
downloadsubsurface-4f438d1e32a8a690c77f7eba8f80711e35e85df5.tar.gz
dive list: don't access selected dives via indices
When determining the selected dive sites to highlight them on the map, the DiveListView code used the local indices of the selected dives. However, that was unreasonably slow. Even though a layering violation, let's access the core data structures directly. In my tests this improved from 700 ms to 0 ms! Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'cmake/Modules/FindLibdivecomputer.cmake')
0 files changed, 0 insertions, 0 deletions