-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix SequenceSet count dups with multiple "*"
In `#count`, "*" is treated as if it is effectively UINT32_MAX. That was also the intention for `#count_with_duplicates`. Unlike `#count`, which can assume that `*` only appears at most once, `#count_with_duplicates` needs to check each entry. This means that, e.g: SequenceSet["#{UINT32_MAX}:*"].count_with_duplicates == 1 SequenceSet["#{UINT32_MAX},*"].count_with_duplicates == 2
- Loading branch information
Showing
2 changed files
with
27 additions
and
10 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