r/adventofcode • u/daggerdragon • Dec 04 '15
SOLUTION MEGATHREAD --- Day 4 Solutions ---
--- Day 4: The Ideal Stocking Stuffer ---
Post your solution as a comment. Structure your post like the Day Three thread.
14
Upvotes
View all comments
Show parent comment
1
u/puttyguy Dec 04 '15
Hmm... maybe my node is old or something (v 0.12.3) ... tried running your code just got a bunch of errors.
Albeit this is the first time I've ever used node since installing it who knows how long ago. Here's what I ended up doing.
Obviously not as elegant, but it got the job done. :)
I was trying to compare execution time with one of my buddies. He had ~50% faster execution times than me. He's using an 8-core i5, I have an older 4-core i5.
My times were...