Skip to content

Commit 2921920

Browse files
committed
when hashers with different design goals are compared, that should be noted
1 parent 167eb54 commit 2921920

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ table implementation in the Rust standard library.
3434

3535
## Performance
3636

37-
Compared to the previous implementation of `std::collections::HashMap` (Rust 1.35).
37+
Compared to the previous HashDoS-resistant implementation of `std::collections::HashMap` (Rust 1.35).
3838

39-
With the hashbrown default AHash hasher:
39+
With the hashbrown default AHash hasher (not HashDoS-resistant):
4040

4141
```text
4242
name oldstdhash ns/iter hashbrown ns/iter diff ns/iter diff % speedup
@@ -57,7 +57,7 @@ With the hashbrown default AHash hasher:
5757
lookup_fail_ahash_serial 4,902 3,240 -1,662 -33.90% x 1.51
5858
```
5959

60-
With the libstd default SipHash hasher:
60+
With the libstd default SipHash hasher (HashDoS-resistant):
6161

6262
```text
6363
name oldstdhash ns/iter hashbrown ns/iter diff ns/iter diff % speedup

0 commit comments

Comments
 (0)