I code in C#.
My goal is the performance. I use BenchmarkDotNet and CodegenAnalysis.
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 |