Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance: improve performance of reads
When duplicates of a single contact are requested in a single read, the order of detail ids will be identical in both duplicates, and thus we don't need to store a hash of all previously seen detail ids, but only the first detail id, in order to perform duplicate detection. Also reduce branching in detail population, slightly.
- Loading branch information
Chris Adams
committed
Sep 18, 2020
1 parent
ca3a91a
commit 12ce0ce
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters