-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix merge iterator duplicates issue (#1157)
Fixes: #1153 The tree-based merge iterator would not skip duplicate keys. This commit fixes it. If merge iterator consists of 3 iterators ``` it1 = [1, 1, 1] it2 = [1, 1, 1, 1, 2] it3 = [1, 1, 1, 1, 2] ``` The result should be ``` [1, 2] ```
- Loading branch information
Ibrahim Jarif
authored
Dec 18, 2019
1 parent
cfa3870
commit 779d9a0
Showing
2 changed files
with
99 additions
and
19 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
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