summaryrefslogtreecommitdiff
path: root/src/bin/day_18.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-12-01 09:21:21 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-12-01 09:21:21 +0200
commit57d07a9f54ef4dcccf7ceca00c8fa9d73b430ba2 (patch)
tree041028f4a45e3565666e0a3bccdf753b1ea907b7 /src/bin/day_18.rs
parent8ca1d096ff846511fcbd9a538b5785651b13675c (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_18.rs')
-rw-r--r--src/bin/day_18.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/day_18.rs b/src/bin/day_18.rs
index 8ac18fc..2eed528 100644
--- a/src/bin/day_18.rs
+++ b/src/bin/day_18.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_18"
+// cargo watch -cs "cargo run --release --bin day_18"
fn main() -> Result<(), Box<Error>> {
let input = read_file(&PathBuf::from("inputs/18.txt"))?;