Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erik-adelbert/aoc

advent of code
https://github.com/erik-adelbert/aoc

2021 advent-of-code advent-of-code-2021 aoc aoc2021 clean-code fast go golang

Last synced: 3 months ago
JSON representation

advent of code

Awesome Lists containing this project

README

        

# aoc

My advent of code solutions

All programs have been carefully composed and run collectively in around 62ms(2023), 49ms(2022) and 249ms(2021).
Coding notes have proven useful for others on reddit.

Happy coding!

## Installation and benchmark

0. optionnally install [gocyclo](https://github.com/fzipp/gocyclo)
1. install [hyperfine](https://github.com/sharkdp/hyperfine)
2. `git clone` this repository somewhere in your `$GOPATH`
3. `export` envar `$SESSION` with your AoC `session` value (get it from the cookie stored in your browser)
4. `$ cd 2022`
5. `$ make`
6. `$ make runtime && cat runtime.md`
7. explore the other `Makefile` goals