Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Optimise handling of rendered item results
While testing with a layer containing millions of annotations there was some significant bottlenecks on the main thread during transfering and cleaning up of rendered annotation item details. Optimise this by storing results in separate vectors per map layer, so that we can clear an entire vector when invalidating the results for one layer instead of having to iterate over one combined vector and remove items element-by-element.
- Loading branch information
1 parent
48b7c3d
commit 75c7b28
Showing
2 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters