Soenneker.Utils.Strings.HammingDistance
3.0.290
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.Strings.HammingDistance --version 3.0.290
NuGet\Install-Package Soenneker.Utils.Strings.HammingDistance -Version 3.0.290
<PackageReference Include="Soenneker.Utils.Strings.HammingDistance" Version="3.0.290" />
<PackageVersion Include="Soenneker.Utils.Strings.HammingDistance" Version="3.0.290" />
<PackageReference Include="Soenneker.Utils.Strings.HammingDistance" />
paket add Soenneker.Utils.Strings.HammingDistance --version 3.0.290
#r "nuget: Soenneker.Utils.Strings.HammingDistance, 3.0.290"
#addin nuget:?package=Soenneker.Utils.Strings.HammingDistance&version=3.0.290
#tool nuget:?package=Soenneker.Utils.Strings.HammingDistance&version=3.0.290
Soenneker.Utils.Strings.HammingDistance
A utility library for comparing strings via the Hamming Distance algorithm
Installation
dotnet add package Soenneker.Utils.Strings.HammingDistance
Why Hamming Distance?
Hamming Distance is a simple yet powerful metric for comparing strings or sequences of equal length. It is especially useful in scenarios where exact alignment and positional differences matter, such as:
Positional Accuracy:
Hamming Distance identifies and quantifies differences at each specific position in two sequences.
Binary or Fixed-Length Data:
It is ideal for comparing fixed-length strings, binary data, or encoded sequences.
Lightweight and Efficient:
Hamming Distance has low computational overhead, making it well-suited for performance-critical applications.
Ideal for Error Detection:
It is commonly used in error detection and correction algorithms, like detecting bit-flip errors in transmitted data.
Usage
var text1 = "kitten";
var text2 = "sitten";
double similarityPercentage = HammingDistanceStringUtil.CalculatePercentage(text1, text2); // ~83.33
Note:
Hamming Distance requires strings of equal length. If the strings differ in length, an exception will be thrown to ensure valid comparisons.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.295 | 111 | 5/7/2025 |
3.0.294 | 120 | 5/5/2025 |
3.0.293 | 124 | 5/5/2025 |
3.0.292 | 124 | 5/5/2025 |
3.0.290 | 147 | 4/8/2025 |
3.0.289 | 138 | 4/8/2025 |
3.0.288 | 138 | 4/8/2025 |
3.0.287 | 142 | 4/8/2025 |
3.0.286 | 139 | 4/8/2025 |
3.0.285 | 143 | 4/7/2025 |
3.0.284 | 144 | 4/7/2025 |
3.0.283 | 143 | 4/7/2025 |
3.0.282 | 145 | 4/7/2025 |
3.0.281 | 151 | 4/7/2025 |
3.0.280 | 147 | 4/7/2025 |
3.0.279 | 146 | 4/6/2025 |
3.0.278 | 143 | 4/6/2025 |
3.0.277 | 144 | 4/6/2025 |
3.0.276 | 127 | 4/6/2025 |
3.0.275 | 122 | 4/6/2025 |
3.0.274 | 125 | 4/6/2025 |
3.0.273 | 94 | 4/6/2025 |
3.0.272 | 94 | 4/6/2025 |
3.0.271 | 68 | 4/5/2025 |
3.0.270 | 82 | 4/5/2025 |
3.0.269 | 78 | 4/5/2025 |
3.0.268 | 74 | 4/5/2025 |
3.0.267 | 140 | 4/4/2025 |
3.0.266 | 133 | 4/1/2025 |
3.0.265 | 137 | 3/31/2025 |
3.0.264 | 147 | 3/31/2025 |
3.0.263 | 70 | 3/29/2025 |
3.0.262 | 452 | 3/25/2025 |
3.0.261 | 465 | 3/25/2025 |
3.0.260 | 100 | 3/21/2025 |
3.0.259 | 128 | 3/21/2025 |
3.0.258 | 133 | 3/18/2025 |
3.0.257 | 137 | 3/18/2025 |
3.0.256 | 58 | 3/15/2025 |
3.0.255 | 60 | 3/15/2025 |
3.0.254 | 148 | 3/12/2025 |
3.0.253 | 153 | 3/12/2025 |
3.0.252 | 154 | 3/11/2025 |
3.0.251 | 156 | 3/11/2025 |
3.0.250 | 177 | 3/11/2025 |
3.0.249 | 159 | 3/11/2025 |
3.0.248 | 154 | 3/11/2025 |
3.0.247 | 203 | 3/7/2025 |
3.0.246 | 200 | 3/7/2025 |
3.0.245 | 89 | 3/2/2025 |
3.0.244 | 78 | 3/2/2025 |
3.0.243 | 78 | 3/2/2025 |
3.0.242 | 81 | 3/1/2025 |
3.0.241 | 82 | 3/1/2025 |
3.0.240 | 84 | 3/1/2025 |
3.0.239 | 88 | 3/1/2025 |
3.0.238 | 81 | 3/1/2025 |
3.0.237 | 77 | 3/1/2025 |
3.0.236 | 81 | 3/1/2025 |
3.0.235 | 94 | 2/25/2025 |
3.0.234 | 79 | 2/25/2025 |
3.0.233 | 86 | 2/25/2025 |
3.0.232 | 75 | 2/25/2025 |
3.0.231 | 89 | 2/23/2025 |
3.0.230 | 84 | 2/23/2025 |
3.0.229 | 85 | 2/22/2025 |
3.0.228 | 86 | 2/22/2025 |
3.0.227 | 86 | 2/22/2025 |
3.0.226 | 93 | 2/22/2025 |
3.0.225 | 82 | 2/22/2025 |
3.0.224 | 85 | 2/21/2025 |
3.0.223 | 97 | 2/21/2025 |
3.0.222 | 84 | 2/19/2025 |
3.0.221 | 86 | 2/19/2025 |
3.0.220 | 90 | 2/19/2025 |
3.0.219 | 96 | 2/18/2025 |
3.0.218 | 89 | 2/18/2025 |
3.0.217 | 86 | 2/18/2025 |
3.0.216 | 90 | 2/14/2025 |
3.0.215 | 92 | 2/14/2025 |
3.0.214 | 95 | 2/13/2025 |
3.0.213 | 93 | 2/12/2025 |
3.0.212 | 96 | 2/12/2025 |
3.0.211 | 97 | 2/12/2025 |
3.0.210 | 90 | 2/12/2025 |
3.0.209 | 83 | 2/12/2025 |
3.0.208 | 96 | 2/12/2025 |
3.0.207 | 88 | 2/11/2025 |
3.0.206 | 89 | 2/11/2025 |
3.0.205 | 86 | 2/11/2025 |
3.0.204 | 112 | 2/11/2025 |
3.0.203 | 98 | 2/11/2025 |
3.0.202 | 90 | 2/10/2025 |
3.0.201 | 92 | 2/10/2025 |
3.0.200 | 105 | 2/10/2025 |
3.0.199 | 96 | 2/10/2025 |
3.0.198 | 90 | 2/10/2025 |
3.0.197 | 94 | 2/9/2025 |
3.0.196 | 88 | 2/9/2025 |
3.0.195 | 91 | 2/8/2025 |
3.0.194 | 92 | 2/8/2025 |
3.0.193 | 88 | 2/7/2025 |
3.0.192 | 81 | 2/7/2025 |
3.0.191 | 86 | 2/7/2025 |
3.0.190 | 99 | 2/7/2025 |
3.0.188 | 98 | 2/7/2025 |
3.0.187 | 84 | 2/7/2025 |
3.0.186 | 86 | 2/7/2025 |
3.0.185 | 87 | 2/6/2025 |
3.0.184 | 96 | 2/5/2025 |
3.0.183 | 89 | 2/5/2025 |
3.0.182 | 87 | 2/5/2025 |
3.0.181 | 90 | 2/5/2025 |
3.0.180 | 81 | 2/5/2025 |
3.0.179 | 86 | 2/5/2025 |
3.0.178 | 97 | 2/5/2025 |
3.0.177 | 93 | 1/28/2025 |
3.0.176 | 86 | 1/28/2025 |
3.0.175 | 80 | 1/28/2025 |
3.0.174 | 83 | 1/28/2025 |
3.0.173 | 83 | 1/27/2025 |
3.0.172 | 83 | 1/27/2025 |
3.0.171 | 83 | 1/27/2025 |
3.0.170 | 92 | 1/26/2025 |
3.0.169 | 82 | 1/26/2025 |
3.0.168 | 81 | 1/26/2025 |
3.0.167 | 81 | 1/26/2025 |
3.0.166 | 79 | 1/25/2025 |
3.0.165 | 88 | 1/25/2025 |
3.0.164 | 81 | 1/25/2025 |
3.0.163 | 82 | 1/25/2025 |
3.0.162 | 84 | 1/25/2025 |
3.0.161 | 77 | 1/24/2025 |
3.0.160 | 78 | 1/24/2025 |
3.0.159 | 86 | 1/24/2025 |
3.0.158 | 79 | 1/24/2025 |
3.0.157 | 79 | 1/24/2025 |
3.0.156 | 77 | 1/24/2025 |
3.0.155 | 82 | 1/24/2025 |
3.0.154 | 82 | 1/24/2025 |
3.0.153 | 81 | 1/23/2025 |
3.0.152 | 85 | 1/21/2025 |
3.0.151 | 89 | 1/21/2025 |
3.0.150 | 87 | 1/21/2025 |
3.0.149 | 80 | 1/21/2025 |
3.0.148 | 89 | 1/21/2025 |
3.0.147 | 86 | 1/21/2025 |
3.0.146 | 84 | 1/21/2025 |
3.0.145 | 85 | 1/21/2025 |
3.0.144 | 86 | 1/21/2025 |
3.0.143 | 77 | 1/21/2025 |
3.0.142 | 86 | 1/20/2025 |
3.0.141 | 83 | 1/20/2025 |
3.0.140 | 89 | 1/20/2025 |
3.0.139 | 85 | 1/20/2025 |
3.0.138 | 83 | 1/20/2025 |
3.0.137 | 86 | 1/20/2025 |
3.0.136 | 84 | 1/20/2025 |
3.0.135 | 86 | 1/20/2025 |
3.0.134 | 82 | 1/19/2025 |
3.0.133 | 87 | 1/19/2025 |
3.0.132 | 76 | 1/19/2025 |
3.0.131 | 78 | 1/19/2025 |
3.0.130 | 75 | 1/19/2025 |
3.0.129 | 82 | 1/19/2025 |
3.0.128 | 78 | 1/18/2025 |
3.0.127 | 81 | 1/18/2025 |
3.0.126 | 80 | 1/17/2025 |
3.0.125 | 80 | 1/17/2025 |
3.0.124 | 80 | 1/17/2025 |
3.0.123 | 75 | 1/17/2025 |
3.0.122 | 80 | 1/16/2025 |
3.0.121 | 75 | 1/16/2025 |
3.0.120 | 78 | 1/16/2025 |
3.0.119 | 76 | 1/16/2025 |
3.0.118 | 77 | 1/16/2025 |
3.0.117 | 88 | 1/16/2025 |
3.0.116 | 74 | 1/16/2025 |
3.0.115 | 88 | 1/16/2025 |
3.0.114 | 81 | 1/15/2025 |
3.0.113 | 74 | 1/15/2025 |
3.0.112 | 74 | 1/15/2025 |
3.0.111 | 76 | 1/15/2025 |
3.0.110 | 58 | 1/15/2025 |
3.0.109 | 59 | 1/15/2025 |
3.0.108 | 58 | 1/15/2025 |
3.0.107 | 50 | 1/15/2025 |
3.0.106 | 62 | 1/14/2025 |
3.0.105 | 66 | 1/14/2025 |
3.0.104 | 74 | 1/13/2025 |
3.0.103 | 69 | 1/13/2025 |
3.0.102 | 75 | 1/13/2025 |
3.0.101 | 73 | 1/13/2025 |
3.0.100 | 79 | 1/12/2025 |
3.0.99 | 78 | 1/11/2025 |
3.0.98 | 84 | 1/11/2025 |
3.0.97 | 81 | 1/11/2025 |
3.0.96 | 89 | 1/11/2025 |
3.0.95 | 85 | 1/10/2025 |
3.0.94 | 67 | 1/10/2025 |
3.0.93 | 86 | 1/10/2025 |
3.0.92 | 86 | 1/10/2025 |
3.0.91 | 83 | 1/10/2025 |
3.0.90 | 115 | 1/3/2025 |
3.0.89 | 110 | 1/3/2025 |
3.0.88 | 93 | 1/3/2025 |
3.0.87 | 91 | 1/3/2025 |
3.0.86 | 92 | 1/2/2025 |
3.0.85 | 90 | 1/2/2025 |
3.0.84 | 97 | 1/2/2025 |
3.0.83 | 92 | 1/2/2025 |
3.0.82 | 107 | 1/1/2025 |
3.0.81 | 96 | 1/1/2025 |
3.0.80 | 100 | 1/1/2025 |
3.0.79 | 95 | 1/1/2025 |
3.0.78 | 114 | 1/1/2025 |
3.0.77 | 97 | 1/1/2025 |
3.0.76 | 111 | 12/31/2024 |
3.0.75 | 101 | 12/31/2024 |
3.0.74 | 109 | 12/31/2024 |
3.0.73 | 111 | 12/31/2024 |
3.0.72 | 108 | 12/31/2024 |
3.0.71 | 91 | 12/31/2024 |
3.0.70 | 86 | 12/31/2024 |
3.0.69 | 86 | 12/31/2024 |
3.0.68 | 95 | 12/31/2024 |
3.0.67 | 94 | 12/31/2024 |
3.0.66 | 90 | 12/30/2024 |
3.0.65 | 84 | 12/28/2024 |
3.0.64 | 95 | 12/28/2024 |
3.0.63 | 87 | 12/27/2024 |
3.0.62 | 87 | 12/27/2024 |
3.0.61 | 88 | 12/24/2024 |
3.0.60 | 92 | 12/24/2024 |
3.0.59 | 80 | 12/24/2024 |
3.0.58 | 90 | 12/24/2024 |
3.0.57 | 80 | 12/24/2024 |
3.0.56 | 93 | 12/24/2024 |
3.0.55 | 84 | 12/24/2024 |
3.0.54 | 91 | 12/24/2024 |
3.0.53 | 84 | 12/24/2024 |
3.0.52 | 91 | 12/23/2024 |
3.0.51 | 90 | 12/23/2024 |
3.0.50 | 95 | 12/23/2024 |
3.0.49 | 93 | 12/23/2024 |
3.0.48 | 96 | 12/23/2024 |
3.0.47 | 97 | 12/22/2024 |
3.0.46 | 93 | 12/22/2024 |
3.0.45 | 91 | 12/22/2024 |
3.0.44 | 90 | 12/22/2024 |
3.0.43 | 94 | 12/22/2024 |
3.0.42 | 94 | 12/21/2024 |
3.0.41 | 92 | 12/21/2024 |
3.0.40 | 89 | 12/21/2024 |
3.0.39 | 90 | 12/21/2024 |
3.0.38 | 88 | 12/21/2024 |
3.0.37 | 96 | 12/21/2024 |
3.0.36 | 91 | 12/21/2024 |
3.0.35 | 91 | 12/20/2024 |
3.0.34 | 93 | 12/20/2024 |
3.0.33 | 104 | 12/20/2024 |
3.0.32 | 88 | 12/20/2024 |
3.0.31 | 92 | 12/20/2024 |
3.0.30 | 96 | 12/19/2024 |
3.0.29 | 95 | 12/19/2024 |
3.0.28 | 88 | 12/19/2024 |
3.0.27 | 88 | 12/19/2024 |
3.0.26 | 98 | 12/18/2024 |
3.0.25 | 89 | 12/18/2024 |
3.0.24 | 86 | 12/16/2024 |
3.0.23 | 84 | 12/16/2024 |
3.0.22 | 90 | 12/10/2024 |
3.0.21 | 91 | 12/10/2024 |
3.0.20 | 91 | 12/9/2024 |
3.0.19 | 94 | 12/9/2024 |
3.0.18 | 97 | 12/9/2024 |
3.0.17 | 90 | 12/9/2024 |
3.0.16 | 92 | 12/9/2024 |
3.0.15 | 95 | 12/7/2024 |
3.0.14 | 99 | 12/6/2024 |
3.0.13 | 95 | 12/6/2024 |
3.0.12 | 92 | 12/6/2024 |
3.0.11 | 91 | 12/6/2024 |
3.0.10 | 98 | 12/6/2024 |
3.0.9 | 89 | 12/6/2024 |
3.0.8 | 97 | 12/6/2024 |
3.0.7 | 95 | 12/6/2024 |
3.0.6 | 100 | 12/6/2024 |
3.0.5 | 95 | 12/6/2024 |
3.0.4 | 95 | 12/5/2024 |
3.0.3 | 91 | 12/5/2024 |
3.0.2 | 89 | 12/4/2024 |
3.0.1 | 97 | 12/4/2024 |