Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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 |