Skip to content

Conversation

@ycherkes
Copy link
Contributor

@ycherkes ycherkes commented Aug 17, 2024

Accent to performantce and allocations. See Benchmark.
Support local languages more naturally (removed regexps "a-zA-Z"). All regexps were replaced with string manipulations (fixes PR!7).
Extra performance improvement, reused approach Dmitry Sushchevsky - see PR!42.
Implemented new Process.ExtractAll method, see Issue!46.
Remove support of outdated/vulnerable platforms netcoreapp2.0;netcoreapp2.1;netstandard1.6.

ycherkes and others added 30 commits May 26, 2024 14:29
Updated .gitignore to include .vshistory/.
Upgraded NUnit3TestAdapter to 4.6.0.
Refactored TestScoringEmptyString method in RegressionTests.cs.
Simplified string formatting in ExtractedResult.cs.
Updated target framework to NET8.0 in FuzzySharp.csproj.
Simplified conditional logic in Levenshtein.cs.
Refactored StringPreprocessorFactory.cs for better string trimming and switch expression.
Used null-coalescing assignment in Process.cs methods.
Made several scorer classes sealed.
Removed unnecessary using directive in TokenAbbreviationScorerBase.cs.
Optimized scoring logic in TokenAbbreviationScorerBase.cs.
Changed several strategy classes to static.
Optimized score calculation in PartialRatioStrategy.cs.
Simplified Heap constructor and added null checks.
Removed redundant ToList calls and optimized permutation logic in Permutation.cs.
Simplified Cycles method in Permutation.cs.
target tests to netcore3.1,net8.0,netframework4.7.2
…ignature #46

add Fastenshtein to perf comparison
@ycherkes ycherkes merged commit a764279 into master Aug 18, 2024
@ycherkes ycherkes deleted the less-alloc-add-raffinert-company-name branch August 18, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants