From 57d07a9f54ef4dcccf7ceca00c8fa9d73b430ba2 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 1 Dec 2018 09:21:21 +0200 Subject: 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. --- src/bin/day_13.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/day_13.rs') diff --git a/src/bin/day_13.rs b/src/bin/day_13.rs index 0bf2760..5c96b80 100644 --- a/src/bin/day_13.rs +++ b/src/bin/day_13.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_13" +// cargo watch -cs "cargo run --release --bin day_13" fn main() -> Result<(), Box> { let input = read_file(&PathBuf::from("inputs/13.txt"))?; -- cgit v1.2.3