Skip to content

Commit 1f00c83

Browse files
committed
Readme and version
1 parent a10910c commit 1f00c83

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

HLL.NET/HLL.NET.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<PackageId>HLL.NET</PackageId>
6-
<Version>1.0.2</Version>
6+
<Version>1.0.3</Version>
77
<Authors>MCUnderground</Authors>
88
<Description>A simple and efficient C# implementation of HyperLogLog for approximate cardinality estimation.</Description>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ dotnet add package HLL.NET
2626

2727
---
2828

29+
30+
### ✅ Accuracy Highlights (based on benchmark tests)
31+
32+
- Precision 10: < 3% average error up to 100,000 unique items
33+
- Precision 12: < 1.5% average error up to 100,000 items
34+
- Precision 14: < 0.7% average error at 100,000 cardinality
35+
36+
### 🔁 Duplicate Safety
37+
38+
Handles duplicate values correctly, estimating only **unique** cardinality. Example:
39+
- Input: 10,000 identical values
40+
- Estimated: ~10,000 (error: <1%)
41+
42+
2943
## 🧑‍💻 Usage
3044

3145
```csharp

0 commit comments

Comments
 (0)