-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4189] Fix colliding filters by updating match method for MultiCharSe…
…quenceFilter to iterate through all patterns for the most complete match and not return on the first pattern found (#4188) * Fix colliding filters by updating match method for MultiCharSequenceFilter to iterate through all patterns for the most complete match and not return on the first pattern found * Remove empty newline * Update new unit test to test length of returned byte array * Update location of new test added to fold into an existing test * Simplify code and add test for multiCharSequenceFilter with multiple patterns and backwards enabled * Add benchmarks tests for new logic in multicharsequence matches method * Add benchmark tests and optimizations to short circuit iterating through patterns if complete match is found * Fix linting error
- Loading branch information
1 parent
e5dd9a4
commit 3afc5be
Showing
3 changed files
with
53 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
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