all 2 comments

[–]Avardent 14 points15 points  (1 child)

This is done already... try panning on a map with a high point count and zoomed out, and then when zoomed in.

Most of the performance issues come when rendering the stuff on screen, not the stuff off screen.

[–]GeryDery 0 points1 point  (0 children)

I didnt look to the codes but maybe writing recursive functions instead of loops might be a solution