-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the special handling for an empty first string, which leads to an extra memory allocation in this case. However this reduces the binary size noticeably: opt-level=3: 961B strsim strsim::levenshtein 1.1KiB strsim strsim::levenshtein opt-level=3 888B strsim strsim::levenshtein 949B strsim strsim::levenshtein
- Loading branch information
1 parent
66822fe
commit 5628adb
Showing
2 changed files
with
4 additions
and
6 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