❤️ our future AI overlords
#norppalive
#norppalive
For some reason the last test fails, but I still got the correct solution
github.com/Dilaz/advent...
For some reason the last test fails, but I still got the correct solution
github.com/Dilaz/advent...
Starting to take a bit too long to solve these puzzles so I might have to give up soon 😅
github.com/Dilaz/advent...
Starting to take a bit too long to solve these puzzles so I might have to give up soon 😅
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
Day 12 part 2 is my slowest solution, it takes around 17ms to run but I think day 13 part 2 is one of the faster ones (51µs) if you don't count parsing the data (47µs)
github.com/Dilaz/advent...
github.com/Dilaz/advent...
Day 12 part 2 is my slowest solution, it takes around 17ms to run but I think day 13 part 2 is one of the faster ones (51µs) if you don't count parsing the data (47µs)
github.com/Dilaz/advent...
github.com/Dilaz/advent...
I tried "cached" crate, but it messed up my benchmarks, so I made my own cache.
github.com/Dilaz/advent...
I tried "cached" crate, but it messed up my benchmarks, so I made my own cache.
github.com/Dilaz/advent...
#twitchrecap
#twitchrecap
github.com/Dilaz/advent...
github.com/Dilaz/advent...
Also changed things a bit in the project and I'll try to fix up the rest of the days to the same format to have a separate lib, main & benchmarks for each day
github.com/Dilaz/advent...
Also changed things a bit in the project and I'll try to fix up the rest of the days to the same format to have a separate lib, main & benchmarks for each day
github.com/Dilaz/advent...
Spent way too many hours debugging too low result on part 1 and the issue was, that I needed '0'..='9' instead '0'..'9', which left out 9.
You get a warning for that by adding:
`"rust-analyzer.check.command": "clippy"`
to VSCode
github.com/Dilaz/advent...
Spent way too many hours debugging too low result on part 1 and the issue was, that I needed '0'..='9' instead '0'..'9', which left out 9.
You get a warning for that by adding:
`"rust-analyzer.check.command": "clippy"`
to VSCode
github.com/Dilaz/advent...
Who would have known that x + 1 is larger than x * 1?
But now part 1 runs in 1.8ms and part 2 in 5.8ms
github.com/Dilaz/advent...
Who would have known that x + 1 is larger than x * 1?
But now part 1 runs in 1.8ms and part 2 in 5.8ms
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
It's not like the regex solution was slow or anything, but the run time dropped from 0.004s to 0.001s
github.com/Dilaz/advent...
github.com/Dilaz/advent...
It's not like the regex solution was slow or anything, but the run time dropped from 0.004s to 0.001s
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...
github.com/Dilaz/advent...