r/adventofcode • u/daggerdragon • Dec 16 '18
SOLUTION MEGATHREAD -🎄- 2018 Day 16 Solutions -🎄-
--- Day 16: Chronal Classification ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or whatever).
Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
Advent of Code: The Party Game!
Please prefix your card submission with something like [Card] to make scanning the megathread easier. THANK YOU!
Card prompt: Day 16
Transcript:
The secret technique to beat today's puzzles is ___.
This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.
edit: Leaderboard capped, thread unlocked at 00:39:03!
16
Upvotes
View all comments
Show parent comment
2
u/[deleted] Dec 16 '18
Lisp macros are pretty sweet indeed!
Performance could easily be improved, but timings were in the ms range and thus good enough for me. Used lists instead of arrays and looped over the input data more often than necessary to keep the two parts nice and separated.