Skip to content

Commit

Permalink
Merge pull request #111 from RalfJung/readme
Browse files Browse the repository at this point in the history
README: Notes on comparison
  • Loading branch information
Amanieu authored Aug 7, 2019
2 parents 167eb54 + 2921920 commit bacb169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ table implementation in the Rust standard library.

## Performance

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

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

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

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

```text
name oldstdhash ns/iter hashbrown ns/iter diff ns/iter diff % speedup
Expand Down

0 comments on commit bacb169

Please sign in to comment.