Files
adventofcode/2021
2024-01-10 19:40:45 +01:00
..
2021-12-29 15:09:43 +01:00
2022-06-07 08:32:59 +02:00
2022-01-02 23:06:32 +01:00
2022-01-09 18:41:02 +01:00
2022-01-09 18:41:02 +01:00
2022-01-09 18:41:02 +01:00
2022-01-09 18:41:02 +01:00

Advent of Code 2021

This folder contains the solution runner for Advent of Code 2021. All days will be solved in Rust, with the goal of having a total time across all puzzles of one second or less.

aoc-2021 

Advent of Code 2021 runner

USAGE:
    aoc-2021 [OPTIONS] <DAY>

ARGS:
    <DAY>    Which day to run

OPTIONS:
    -2, --part2            Run part 2 instead of part 1
    -h, --help             Print help information
    -i, --input <INPUT>    Read input from the given file instead of stdin
    -t, --time             Print time taken

That goal was achieved

Runtime benchmarked with Criterion, reading input directly from memory to avoid disk IO inconsistencies.

Cumulative time

Time by day