forked from dgraph-io/badger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Opt(pickTables): Fix an optimization regression
NewKeyIterator uses pickTables which was optimized in the past. But, a recent PR: dgraph-io#1546 removed this optimization, which is now making NewKeyIterator quite expensive. This PR brings that optimization back.
- Loading branch information
1 parent
70088c6
commit 74f2e02
Showing
2 changed files
with
22 additions
and
4 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