Use a variable reference for where to store the result, stop putting all results...
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Tue, 15 Dec 2020 16:30:20 +0000 (16:30 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Tue, 15 Dec 2020 16:30:20 +0000 (16:30 +0000)
commit11d744f1cd2c87d7dc01c504e368d4cecd99aa47
tree1f7cc880d4bdda223bd9d818746c1ecbe44e4462
parent17e572f7ac5fde17481f218f91d2d002d7d14f95
Use a variable reference for where to store the result, stop putting all results in to a huge array and then reading the answer from that. Save a fair chunk of memory.
day15/memory.sh