Matthew Gretton-Dann d7b1290379 Optimize selection of next position.
Grid::next_pos was starting its scan from the position after the current
 one.

This is inefficient as we know how large the square we've just placed is
 as we scan those positions.

This optimisation just skips that square when starting the scan.
2025-09-01 11:00:56 +02:00
2025-08-31 17:40:43 +01:00
2025-09-01 11:00:56 +02:00
Description
C++ Solutions to the Partridge problem
112 KiB
Languages
C++ 98.7%
CMake 1.3%