Skip to content

Commit

Permalink
Approach 5: Use FxHashmap (Time: 123s)
Browse files Browse the repository at this point in the history
The default hash algorithm of rust is SipHash 1-3, this algorithm is
very robust but also slow. We replace this with a faster Hash function
FxHashmap
  • Loading branch information
Naveenaidu committed Jul 14, 2024
1 parent df29672 commit afc73a1
Show file tree
Hide file tree
Showing 3 changed files with 496 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ clap = { version = "4.4.13", features = ["derive"] }
rust_decimal = "1.34"
rust_decimal_macros = "1.34"
fast-float = "0.2"
rustc-hash = { version = "1.0"}
Loading

0 comments on commit afc73a1

Please sign in to comment.