Leaflet.markercluster icon indicating copy to clipboard operation
Leaflet.markercluster copied to clipboard

Leverage WebWorker for clustering

Open Etienne-M opened this issue 1 year ago • 1 comments

Clustering a large amount of probes can take ~1 seconds by itself. All of this time is currently spent on the main thread, which yields a poor user experience.

We could move this computationally intensive logic inside a web worker to free up the main thread.

This issue has already been opened in the past, but it was previously closed: https://github.com/Leaflet/Leaflet.markercluster/issues/131

Etienne-M avatar Mar 09 '23 21:03 Etienne-M

Hi @Etienne-M this indeed sounds like a significant amount of refactoring as previously mentioned. Perhaps we can use this issue as a poll for such improvement. If we got a sufficient amount of attention we can def prioritize it. In the meantime, feel free to open a PR if you had any solution as well we can review it.

ykzeng avatar May 22 '23 21:05 ykzeng