Skip to content

Commit

Permalink
day 23: stack requirements in debug mode were reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
anisse committed Dec 23, 2023
1 parent d382f92 commit a70c175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/day23.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn part2(map: MapRef) -> usize {
let map = map.to_vec();
// Needs a bigger stack
let child = thread::Builder::new()
.stack_size(8 * 1024 * 1024) // this is mostly for debug mode with full input
.stack_size(4 * 1024 * 1024) // this is mostly for debug mode with full input
.spawn(move || {
longest_path2_bruteforce(
&map,
Expand Down

0 comments on commit a70c175

Please sign in to comment.