Skip to content

Commit 1a86fc3

Browse files
committed
Cleanup
1 parent e419000 commit 1a86fc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ FastSet uses a **sorted fingerprint array** instead of storing the original stri
5050
Because hash prefixes are uniformly distributed, buckets are tiny.
5151
Real world tests on the fixture file that contains ~140k entries in this repository (`tests/Fixtures/terms_de.txt`):
5252

53-
- Average bucket size **2–3 entries**
54-
- Worst case (real data): **11 entries**
55-
- Worst-case comparisons: **log₂(11) = 4**
53+
- Average bucket size `2–3` entries
54+
- Worst case (real data): `11` entries
55+
- Worst case comparisons: `log₂(11) = 4`
5656

5757
Of course, the bigger your dictionary, the bigger the individual buckets.
5858

@@ -106,7 +106,7 @@ You can ship these files with your application.
106106
```php
107107
$set = new FastSet(__DIR__ . '/dict');
108108

109-
if ($set->has('Abendessen')) {
109+
if ($set->has('look-me-up')) {
110110
// exists
111111
}
112112
```

0 commit comments

Comments
 (0)