-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix whitespace cleaning tests * Add test for double replace * Create a new helper each time * Use a dictionary for caching denied character regexes * Cache the default config * Whitespace and usings cleanup * Lazily cache the cleanup regex * Trim and lowercase string without allocating * Collapse whitespace without allocating * Apply string replacements without allocating * Remove bad test * Add more coverage for string replacements * Fix string replacement bugs * Replace RemoveDiacritics with a non-allocating version * Add test for whitespace in a string replacement from @Buildstarted * Don't use regexes for denied characters by default * Update tests for allowed characters * Add test for legacy behaviour * Dont regress legacy benchmarks * Process allowed characters * Collapse dashes without allocating * Cache IsWhitespace
- Loading branch information
1 parent
02e077b
commit 01004f1
Showing
4 changed files
with
360 additions
and
70 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
Oops, something went wrong.