No description
Find a file
LeMoonStar f46db6fe37
️ Day 7: Improved performance
While this approach is not as scalable anymore (it requires more ram) for the input size given by Advent Of Code, this provides significant performance improvements
2025-12-07 18:54:52 +01:00
aoc-macro init 2025-12-01 17:43:06 +01:00
images init 2025-12-01 17:43:06 +01:00
src ️ Day 7: Improved performance 2025-12-07 18:54:52 +01:00
.gitignore init 2025-12-01 17:43:06 +01:00
Cargo.lock init 2025-12-01 17:43:06 +01:00
Cargo.toml init 2025-12-01 17:43:06 +01:00
LICENSE init 2025-12-01 17:43:06 +01:00
README.md 📝 Updated statistics in readme 2025-12-07 16:09:58 +01:00

Advent of Code 2025

About Language: Rust License: MIT Days completed Stars

My Advent of Code 2025 Solutions.

Usage

There are multiple ways to run my solutions, the easiest and most comfortable one is the auto command:
It automatically downloads your input. For this it requires you to provide your Advent of Code session id, which you can find in the websites cookies after logging in.
Simply provide the session token by setting the AOC_SESSION environment variable or using the -s argument:
AOC_SESSION=XXXMYSESSION ./aoc25 [DAY] auto or ./aoc25 [DAY] auto -s XXXMYSESSION.
In this example, the environment variable for the AoC session is set using export AOC_SESSION=XXXMYSESSION, so I can run the command without specifying the session token again:
auto command in action

If you don't want to automatically download the input, you can also use the run command, which uses a locally stored file or the stdin input:
./aoc25 [DAY] run -f my_input.txt:
run command in action

If you just want to run the day's example, simply use the test command, as this project already includes the examples: ./aoc25 [DAY] test:
test command in action

Compiling

This project uses Cargo, so compiling is pretty easy:
cargo build --release
The resulting binary can be found at ./targets/release/aoc25. You can also directly run the project using cargo run --release [arguments for aoc25]
the --release option is not required, but it results in better performance.

Check out other AoC25 solutions

TODO