Closed magnushiie closed 1 year ago
The forward and backward search were basically copies of each other with only the direction variables being different.
This change unifies the searches in both directions to loops over directions.
It's probably easier to review the commits separately, I intentionally made it in separate steps so it's obvious what changes.
The forward and backward search were basically copies of each other with only the direction variables being different.
This change unifies the searches in both directions to loops over directions.
It's probably easier to review the commits separately, I intentionally made it in separate steps so it's obvious what changes.