The loading of the input grid was optimized, but there are still some things that can be done.
The memory layout should change to map the grid contents directly. The pre-calculation of some constant arrays could be done once for each grid.
Showing
Please register or sign in to comment