diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-12-01 09:21:21 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-12-01 09:21:21 +0200 |
commit | 57d07a9f54ef4dcccf7ceca00c8fa9d73b430ba2 (patch) | |
tree | 041028f4a45e3565666e0a3bccdf753b1ea907b7 /src/bin/day_7.rs | |
parent | 8ca1d096ff846511fcbd9a538b5785651b13675c (diff) |
Updated template to run in release mode
I'm trying to practice more functional idioms in Rust, and they tend
to be slower than expected if you're running in debug mode.
Diffstat (limited to 'src/bin/day_7.rs')
-rw-r--r-- | src/bin/day_7.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/day_7.rs b/src/bin/day_7.rs index eb5555f..3e65fb4 100644 --- a/src/bin/day_7.rs +++ b/src/bin/day_7.rs @@ -4,7 +4,7 @@ use advent_of_code_2018::*; use std::error::Error; use std::path::PathBuf; -// cargo watch -cs "cargo run --bin day_7" +// cargo watch -cs "cargo run --release --bin day_7" fn main() -> Result<(), Box<Error>> { let input = read_file(&PathBuf::from("inputs/7.txt"))?; |