kevingosse / GummyCat

MIT License
158 stars 10 forks source link

Improve the performance of the tile view #14

Open kevingosse opened 7 months ago

kevingosse commented 7 months ago

Currently, the overlay when hovering a region in the tiled view is done by creating individual instances of Rectangle. It works fine for small regions, but scales poorly when hovering a large free zone (I've seen the computation time shoot up to 150ms). I don't think there's a magical property that can help, so the best is probably to do the rendering manually, like for the regions.