Toot

Written by Robbie on 2024-12-19 at 19:45

I just completed "Linen Layout" - Day 19 - Advent of Code 2024 #AdventOfCode https://adventofcode.com/2024/day/19

my #rust confusion, er, solution. https://github.com/robbiemu/advent_of_code_2024/blob/main/day-19/src/lib.rs

Started out avoiding recursion.. which is slow.

Got both down to ~310μs with some refactoring once I realized the counting mistake.

just want to point out, because I spent a couple of hours trying to actually generate a collection of each solution to each in part2, and you should not do that! Just count them!

=> More informations about this toot | View the thread | More toots from robbiemu@mastodon.social

Mentions

Tags

=> View adventofcode tag | View rust tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113681204785167757
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.269726 milliseconds
Gemini-to-HTML Time
0.627475 milliseconds

This content has been proxied by September (3851b).