Migrate scoring APIs to double precision for v6.0.0 - #32
Merged
Merged
Conversation
- add bulk character population and ASCII fast paths - lazily allocate non-ASCII storage - rename benchmark labels to Raffinert.FuzzySharp - update v6 migration documentation and PR summary
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28
Summary
Fuzzmethods, extraction results, and extraction cutoffs frominttodoublescoreCutofffrom the Indel, Levenshtein, longest-common-subsequence, and partial-ratio APIs6.0.0.nupkgand.snupkgfiles as GitHub Actions artifacts onlyBreaking changes
doubleFuzzmethods now return fractionaldoublescores instead of rounded integersExtractedResult<T>.Score, scorer delegates, and extraction cutoff parameters now usedoublescoreCutoffparameters have been removed from the distance and partial-ratio APIsIRatioScorer,ICachedRatioScorer, and their generic variants must update theirScorereturn types todoubleValidation
netframework4.6.2,netframework4.7.2,net8.0, andnet10.0(20,504 total test executions)Raffinert.FuzzySharp.6.0.0.nupkgandRaffinert.FuzzySharp.6.0.0.snupkg