Sometimes refactors are for readability, and sometimes for performance.
This morning it was the later.
For the AOC warmup code I wrote last night I moved a second line split on day 1 to only happen if it was needed, and removed a redundant loop in day 2.