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_20.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/day_20.rs') diff --git a/src/bin/day_20.rs b/src/bin/day_20.rs index a134aa3..c89a8f9 100644 --- a/src/bin/day_20.rs +++ b/src/bin/day_20.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_20" +// cargo watch -cs "cargo run --release --bin day_20" fn main() -> Result<(), Box> { let input = read_file(&PathBuf::from("inputs/20.txt"))?; -- cgit v1.2.3