New pattern rendering code is painfully slow in bulk
yrsegal opened this issue ยท 9 comments
profile on the rendering code
Hexal_Forge__runClient__2022_11_11_143959.txt
Subjectively, drawing patterns feels much choppier in 0.10.0. Going back to 0.9.6, the grid is noticeably smoother to use. Probably related to this issue.
I think I see the problem: it's converting a number in radians to a number in degrees when it doesn't need to be in degrees and then looping over that number as if it were radians, so it's doing like 60x too much work