-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: GlobMatcher uses now reflex::Matcher regex engine
Also consolidate benchmarking low level routines undeer dfly_core_test Before this change: ``` BM_MatchGlob/1000 2164 ns 2164 ns 322600 BM_MatchGlob/10000 21985 ns 21981 ns 31815 ``` After this change: ``` BM_MatchGlob/1000 137 ns 137 ns 5276350 BM_MatchGlob/10000 437 ns 437 ns 1510854 ``` What's curious is that now matching `*foobar*` on string is faster than searching for 'foobar` using string::find(). Signed-off-by: Roman Gershman <[email protected]>
- Loading branch information
Showing
9 changed files
with
342 additions
and
222 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.