-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When `regex-syntax` is compiled under debug mode, case folding can take a significant amount of time. This path is easily triggered by using case insensitive regexes. This commit speeds up the case folding process by skipping binary searches, although it is still not optimal. It could probably benefit from a fresh approach, but let's leave it alone for now.
- Loading branch information
1 parent
7a72b1f
commit f9fc861
Showing
1 changed file
with
28 additions
and
14 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