Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/erik-adelbert/aoc
- Owner: erik-adelbert
- License: gpl-3.0
- Created: 2021-12-29T18:14:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T11:30:39.000Z (about 1 year ago)
- Last Synced: 2024-08-04T01:10:14.068Z (6 months ago)
- Topics: 2021, advent-of-code, advent-of-code-2021, aoc, aoc2021, clean-code, fast, go, golang
- Language: Go
- Homepage:
- Size: 76.1 MB
- Stars: 35
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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