diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-08 22:10:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-08 22:10:04 +0200 |
commit | 393846f660802d53d6ff6744cea0c1fa05019ba3 (patch) | |
tree | 2c8906240167af00838314d0b35907c87e4d40d5 /common/domain/applicationdomaintype.cpp | |
parent | 624fb3718b5063f29644b69a8082ef9f84a55ec5 (diff) | |
download | sink-393846f660802d53d6ff6744cea0c1fa05019ba3.tar.gz sink-393846f660802d53d6ff6744cea0c1fa05019ba3.zip |
Optimized the incremental update case.
This brings the incremental closer to a regular query (about 1.5 times
as bad instead of 3.5 times).
For a comparison look at MailQueryBenchmark::testIncremental()
The optimization is built on the assumption that we i.e. get an update
with 100 revisions, and thus the optimization applies to the case where
we have multiple revisions within that batch that are part of the same
reduction. In such a case we can avoid redoing the reduction lookup over
and over.
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
0 files changed, 0 insertions, 0 deletions