#1 Day18 methods and comptime

Opened by voroskoi on February 15, 2022
voroskoi added a change on April 20, 2022
Day18 WIP created on April 19, 2022
KHVGYFXXJZY762NIUJXIMLYMKIZC3IKKAVLTA3A6FO2LWEIW26KQC
voroskoi on April 20, 2022

This patch does 2 things:

  • moves functions inside SnailNumber struct (this part works)
  • uses comptime in explode() function to handle left and right childs, instead of explodeLeft() and explodeRight()

The latter one does not compile :-(