.. | ||
input.txt | ||
part1.rs | ||
part2.rs | ||
README.md |
every time I open rust I want to have a clever functional solution where I just chain some iterators and it pops out the right answer with zero mutable state
and more than half the time I end up with a fucking imperative loop juggling like five mutable variables this would be like completely trivial to rewrite in zig, I literally replace the vec with an alloc of an arraylist and heck reuse my indexedset from day 3 (or maybe write my own dedup for fun but meh) and bam it's literally just C tier code