-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SlotIndexes] Use upper/lower bound terminology for MBB searches. NFC. (
#68802) Rename advanceMBBIndex and findMBBIndex to getMBBLowerBound and add getMBBUpperBound. The motivations are: - Make it clear what kind of search is being done, using names inspired by std::upper/lower_bound. - Simplify getMBBFromIndex which really wants an upper bound search and previously had to work hard to get the result it wanted from a lower bound search.
- Loading branch information
Showing
2 changed files
with
23 additions
and
21 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