Skip to content

Commit

Permalink
#19 linearmap
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 23, 2023
1 parent c1e916f commit 154f6aa
Show file tree
Hide file tree
Showing 3 changed files with 15 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.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ hashbrown = "0.13.2"
rustc-hash = "1.1.0"
nohash-hasher = "0.2.0"
tinymap = "0.4.0"
linked-hash-map = "0.5.6"
linked-hash-map = "0.5.6"
linear-map = "1.2.0"
6 changes: 6 additions & 0 deletions tests/benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ fn benchmark(total: usize) -> HashMap<&'static str, Duration> {
linked_hash_map::LinkedHashMap::<u32, i64>::new(),
total
);
insert!(
"linear_map::LinearMap",
ret,
linear_map::LinearMap::<u32, i64>::new(),
total
);
insert!(
"micromap::Map",
ret,
Expand Down

0 comments on commit 154f6aa

Please sign in to comment.