Follow

We're getting into the part of 2021 where data structures really matter, and it's a fun thing to consider – most day to day programming problems aren't this obviously about that.

Anyway, here's my (commented) solution for Day 5:
replit.com/@T045T/AoC-2021-Day

It's not super performant, but good enough. I'm pretty sure at least part of it is due to Data.Map being an ordered Map, when I don't really need it to be.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
scl.zmb.cm

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!