Skip to content

Commit

Permalink
use hashbrown
Browse files Browse the repository at this point in the history
  • Loading branch information
mirsella committed Dec 11, 2024
1 parent f1b58fa commit 5118d8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions 2024/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pathfinding = "4.11.0"
rayon = "1.10.0"
regex = "1.10.2"
indexmap = { version = "2.7.0", features = ["rayon"] }
hashbrown = { version = "0.15.2", features = ["rayon", "nightly"] }
1 change: 1 addition & 0 deletions 2024/day11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ itertools = { workspace = true }
pathfinding = { workspace = true }
rayon = { workspace = true }
indexmap = { workspace = true }
hashbrown = { workspace = true }
2 changes: 1 addition & 1 deletion 2024/day11/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::collections::HashMap;
use hashbrown::HashMap;

fn part(input: &str, count: u64) -> u64 {
let mut stones = input
Expand Down

0 comments on commit 5118d8d

Please sign in to comment.