Skip to content

Commit

Permalink
Change HashMap to FxHashMap
Browse files Browse the repository at this point in the history
  • Loading branch information
qoqosz committed Aug 12, 2024
1 parent 5286de2 commit 07429d4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ rust-version = "1.80.1"
[dependencies]
either = "1.13.0"
ordered-float = "4.2.2"
rustc-hash = "2.0.0"
3 changes: 2 additions & 1 deletion src/book.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use either::Either;
use ordered_float::OrderedFloat;
use rustc_hash::FxHashMap as HashMap;
use std::cell::Cell;
use std::cmp::min;
use std::collections::{BTreeMap, HashMap, VecDeque};
use std::collections::{BTreeMap, VecDeque};
use std::fmt;
use std::rc::Rc;

Expand Down

0 comments on commit 07429d4

Please sign in to comment.