r/adventofcode • u/daggerdragon • Dec 07 '15
SOLUTION MEGATHREAD --- Day 7 Solutions ---
--- Day 7: Some Assembly Required ---
Post your solution as a comment. Structure your post like previous daily solution threads.
Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!
23
Upvotes
View all comments
Show parent comment
2
u/AndrewGreenh Dec 07 '15
Very cool :)
I didn't think a cache was neccessary... let the terminal run for 5 mins until figuring out, that something was not quite how it should be done... Added lodash's _memoize to my clojures and it finished instantly!
And some say JS can't do lazy evaluation!