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_9.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_9.rs')
-rw-r--r-- | src/bin/day_9.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/day_9.rs b/src/bin/day_9.rs index 8d13376..3aaf640 100644 --- a/src/bin/day_9.rs +++ b/src/bin/day_9.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_9" +// cargo watch -cs "cargo run --release --bin day_9" fn main() -> Result<(), Box<Error>> { let input = read_file(&PathBuf::from("inputs/9.txt"))?; |