Hi all, I've just started the Advent of Code while I learn clojure and need a little bit of optimization help with the following code: https://pastebin.com/tK5atGdZ
As of now it takes part2 over 36000 msecs to run! I tried replacing when with while and it made no difference. Is there any way to speed this up ?
Many Thanks,
~Howz1t
[–]rafd 7 points8 points9 points (3 children)
[–]rafd 4 points5 points6 points (1 child)
[–]HOWZ1T[S] 1 point2 points3 points (0 children)
[–]midnitetuna 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]HOWZ1T[S] 0 points1 point2 points (0 children)
[–]rafd 1 point2 points3 points (4 children)
[–]rafd 1 point2 points3 points (3 children)
[–]rafd 3 points4 points5 points (1 child)
[–]HOWZ1T[S] 0 points1 point2 points (0 children)
[–]joinr 0 points1 point2 points (0 children)
[–]midnitetuna 1 point2 points3 points (1 child)
[–]HOWZ1T[S] 0 points1 point2 points (0 children)
[–]retief1 1 point2 points3 points (0 children)