diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-12-18 16:24:34 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-18 11:29:17 -0800 |
commit | 3985a8aa8f07370049589f9326c19b6a4330426d (patch) | |
tree | 05a26cf5bfcf65dfe33ea24e18f605839fab8098 /qt-models/divepicturemodel.cpp | |
parent | 9d844801b9da94bcec7653acd5b5de8167da4134 (diff) | |
download | subsurface-3985a8aa8f07370049589f9326c19b6a4330426d.tar.gz |
Allow to read factor cache concurrently
In a session with the profile I saw that the planner spends
a lot of time waiting to obtain the lock for the factor cache.
Most of the time we are only reading that cache and that
is save to do in parallel (according to the Qt IRC channel).
So we can use a QReadWriteLock instead of a QMutex. This
appears to be quite a performance boost, in particular
for VPM-B
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models/divepicturemodel.cpp')
0 files changed, 0 insertions, 0 deletions