summaryrefslogtreecommitdiff
path: root/src/bin/day_1.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_1.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_1.rs')
-rw-r--r--src/bin/day_1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/day_1.rs b/src/bin/day_1.rs
index 56ae0f7..4693579 100644
--- a/src/bin/day_1.rs
+++ b/src/bin/day_1.rs
@@ -8,7 +8,7 @@ use std::path::PathBuf;
use im_rc::HashSet;
-// cargo watch -cs "cargo run --bin day_1"
+// cargo watch -cs "cargo run --release --bin day_1"
fn main() -> Result<(), Box<Error>> {
let input = read_file(&PathBuf::from("inputs/1.txt"))?;