-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides optimized matchers for IsMapContaining.hasKey() and IsMapCon…
…taining.hasEntry(), which use the map's own containsKey(K key) method to avoid an O(n) worst-case linear search for every match. This implements the change proposed in issue #172
- Loading branch information
1 parent
6b880bf
commit 7e26e11
Showing
2 changed files
with
65 additions
and
6 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