Skip to content

Commit 5118d8d

Browse files
committed
use hashbrown
1 parent f1b58fa commit 5118d8d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

2024/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ pathfinding = "4.11.0"
88
rayon = "1.10.0"
99
regex = "1.10.2"
1010
indexmap = { version = "2.7.0", features = ["rayon"] }
11+
hashbrown = { version = "0.15.2", features = ["rayon", "nightly"] }

2024/day11/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ itertools = { workspace = true }
1212
pathfinding = { workspace = true }
1313
rayon = { workspace = true }
1414
indexmap = { workspace = true }
15+
hashbrown = { workspace = true }

2024/day11/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::collections::HashMap;
1+
use hashbrown::HashMap;
22

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

0 commit comments

Comments
 (0)