/advent-of-code-2023

Primary LanguageRustMIT LicenseMIT

Advent of code 2023

https://adventofcode.com/

Requirements

cargo install cargo-watch
cargo install hyperfine

Commandes

add day :

cargo new dayXX --vcs none

run :

cargo watch -x "run -p dayXX"

test :

cargo watch -x "test -p dayXX"

benchmark :

cargo build --release -p dayXX 
hyperfine --warmup 5 -N .\target\release\dayXX.exe
hyperfine --warmup 5 -N ./target/release/dayXX