Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a small cache for geometries built from WKT strings
This can be very expensive, so by caching them we can save a lot of time A quick benchtest using a delimited text layer with WKT strings for geometries: Before: average redraw time: 3338 ms After: average redraw time: 670 ms (Of course, this benefit assumes that all the layer's geometries can fit in the cache. But even when the cache is exhausted there's no noticable drop in performance)
- Loading branch information