Skip to content

v6.0.0

Compare
Choose a tag to compare
@paulirwin paulirwin released this 27 Nov 15:42
· 2 commits to main since this release
e08c8c4
  • #28 - Support ReadOnlySpan<T> for Damerau, JaroWinkler, Levenshtein, LongestCommonSubsequence, MetricLCS, NormalizedLevenshtein, and OptimalStringAlignment algorithms. This can provide performance improvements for cases where you need to compare i.e. byte arrays with ASCII or Latin-1 encoded data, without having to convert to a .NET (UTF-16) string first. Note that this does not handle multi-byte characters/code points, so use with caution for any inputs that might (accidentally) be i.e. UTF-8. To ensure algorithm accuracy, it is still generally recommended that you convert to string first in most cases, using the proper System.Text.Encoding conversion for your input data.