#AdventOfCode (yes, still): My latest solution was taking a long time to run... so I left it running while I walked the dog, and came back to find it'd got the right answer. Took 20 minutes. Should I...
Chapter 17 is about optimizing Conway's game of life, sounds extremely relevant
"a simple, straightforward implementation just doesn’t cut it, even on a 33 MHz 486"
Very interested to know why the poll answers don't add up to 100%...
Anyway, thanks for the advice, I've sort of listened! Instead of a whole book, I've read just one chapter (recommended here https://stackoverflow.com/a/40529/607861), great advice on how to think about problems. It's given me ideas that I'll try at some point soon...
WOW with just a few good ideas, running time for this #AdventOfCode problem has gone from 19 minutes down to 12 seconds. I'm delighted :)
There's loads more I could try - but this is very much good enough for now! Off to the next puzzle...
@neil_vass did you remove the sleeps()
@iainjmitchell resting is important for peak performance! Next you'll be telling me to take out the snack breaks too