Skip to content

Commit

Permalink
Apply two suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nilstrieb <[email protected]>
  • Loading branch information
allan2 and Noratrieb authored Mar 7, 2024
1 parent cbc1040 commit 0149db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ The [hash map in `std`](https://doc.rust-lang.org/std/collections/struct.HashMap
These attacks aren't as much of a concern in the compiler so we prefer to use the quicker, non-cryptographic Fx algorithm.

The Fx algorithm is a unique one used by Firefox. It is fast because it can hash eight bytes at a time.
Within `rustc`, it consistently outperforms every other tested algorithms (such as FNV).
The collision rate is similar or slightly worse than others.
Within `rustc`, it consistently outperforms every other tested algorithm (such as FNV).
The collision rate is similar or slightly worse than other low-quality hash functions.

## Usage

Expand Down

0 comments on commit 0149db2

Please sign in to comment.