Skip to content

Commit

Permalink
feat: implement benching, refactor template
Browse files Browse the repository at this point in the history
  • Loading branch information
fspoettel committed Oct 21, 2023
1 parent d10ec05 commit be568dc
Show file tree
Hide file tree
Showing 20 changed files with 947 additions and 519 deletions.
11 changes: 6 additions & 5 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[alias]
scaffold = "run --bin scaffold --quiet --release -- "
download = "run --bin download --quiet --release -- "
read = "run --bin read --quiet --release -- "
scaffold = "run --quiet --release -- scaffold"
download = "run --quiet --release -- download"
read = "run --quiet --release -- read"

solve = "run --bin solve --quiet --release -- "
all = "run"
solve = "run --quiet --release -- solve"
all = "run --quiet --release -- all"
time = "run --quiet --release -- all --release --time"

[env]
AOC_YEAR = "2022"
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ target/

# Advent of Code
# @see https://old.reddit.com/r/adventofcode/comments/k99rod/sharing_input_data_were_we_requested_not_to/gf2ukkf/?context=3
/src/inputs
!/src/inputs/.keep
/data
!/data/inputs/.keep
!/data/examples/.keep
!/data/puzzles/.keep
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.

<!--- advent_readme_stars table --->

<!--- benchmarking table --->

---

## Template setup
Expand Down
Empty file added src/bin/.keep
Empty file.
44 changes: 0 additions & 44 deletions src/bin/download.rs

This file was deleted.

44 changes: 0 additions & 44 deletions src/bin/read.rs

This file was deleted.

58 changes: 0 additions & 58 deletions src/bin/solve.rs

This file was deleted.

4 changes: 0 additions & 4 deletions src/helpers.rs

This file was deleted.

Loading

0 comments on commit be568dc

Please sign in to comment.