Module day08

Module day08 

Source
Expand description

§I Heard You Like Registers

Computes both parts in a single pass. Each register name is between one and three letters, so we use a base 27 index (counting a as 1 and a blank space as 0) into a vec which is faster than using a hashmap.

Functions§

parse
part1
part2
to_index 🔒

Type Aliases§

Input 🔒