2 ms·
I did something similar and counted from the end, to make much bigger jumps! https://github.com/timvisee/advent-of-code-2022/blob/master/day06b/src/main.rs htt
by timvisee 4y ago
I did something similar and counted from the end, to make much bigger jumps!
https://github.com/timvisee/advent-of-code-2022/blob/master/day06b/src/main.rs https://github.com/timvisee/advent-of-code-2022/blob/master/...
Maybe a bit less neat in the binary sense, but definitely very fast.