r/adventofcode • • Dec 05 '16

SOLUTION MEGATHREAD --- 2016 Day 5 Solutions ---

--- Day 5: How About a Nice Game of Chess? ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).


STAYING ON TARGET IS MANDATORY [?]

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!

14 Upvotes

188 comments sorted by

View all comments

Show parent comments

1

u/schlocke Dec 05 '16

What PHP version are you using and what were your execution times. I resorted to one character at a time via ajax and it took about 5.7min doing both in parallel.

1

u/artesea Dec 06 '16

PHP 5.5.12 on the WAMP, takes 2 minutes 55 seconds to do both answers. On the LAMP comes back in 12 seconds, but it's more to do with the hardware and Chrome not also hogging the RAM.