placeAtlas/atlas-2022

Potential performance issues with `calcPolygonArea`

Closed this issue · 1 comments

I have a PR in progress to sort by Area in the search. #783

Between this and the information overlay for plots, calcPolygonArea can be called more than once for the same vertices, there's no visible performance impact but it is possible to be worse off on lower-end devices.

I've opened up a draft PR #822 to discuss a solution.

another suggested approach is #831 which loads areas upfront rather than caching.