r/PowerShell • u/rmbolger • Dec 15 '20
Advent of Code 2020 - Day 15 - Rambunctious Recitation
https://adventofcode.com/2020/day/14
Definitely a pretty straightforward day where you should be able to use the same code for both parts 1 and 2.
5
Upvotes
View all comments
Show parent comment
2
u/ka-splam Dec 16 '20 edited Dec 16 '20
Then I was studying an APL answer to see how it worked and write an explanation, and it uses a big array of 30M ints, and I rewrote mine into that style. My machine seems to be able to do around a million empty loops per second, so I was hoping for ~30 seconds or so, but it takes more like 5 minutes: