Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whiteblackgoose/aoc2021
My perf-focused solutions
https://github.com/whiteblackgoose/aoc2021
Last synced: 18 days ago
JSON representation
My perf-focused solutions
- Host: GitHub
- URL: https://github.com/whiteblackgoose/aoc2021
- Owner: WhiteBlackGoose
- License: unlicense
- Created: 2021-12-02T21:25:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-05T07:18:08.000Z (almost 3 years ago)
- Last Synced: 2024-10-19T18:47:15.367Z (30 days ago)
- Language: C#
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AoC2021
I code in C#.
My goal is the performance. I use [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) and [CodegenAnalysis](https://github.com/WhiteBlackGoose/CodegenAnalysis).
## Results
| Problem | Baseline | My solution |
| ---------- | -------- | ----------- |
| Day 2 P 1 | 150 us | 9.5 us |
| Day 2 P 2 | 150 us | 9.5 us |
| Day 3 P 1 | 257 us | 0.75 us |
| Day 3 P 2 | 4700 us | 🦆 |
| Day 4 P 1 | 800 us | 16 us |
| Day 4 P 2 | 3800 us | 16 us |