diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-01 18:05:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-04 12:00:25 -0700 |
commit | 66d3eaa9430bab4ee2c8974eb73ea185973c7617 (patch) | |
tree | 1a795c4dd74b3723753f8a5fce16a5b9c0246d0a /tests/testgitstorage.h | |
parent | cf9303c862009f30b0a415ef9151d7fc6e14527e (diff) | |
download | subsurface-66d3eaa9430bab4ee2c8974eb73ea185973c7617.tar.gz |
mobile/dive-list: performance improvement for invalid dives
Small optimization that reduces the number of accesses to the underlying
model. Instead of evaluating the isInvalid member eight times per
delegate, we only check it once.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testgitstorage.h')
0 files changed, 0 insertions, 0 deletions