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