-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-cell selection of hundreds of cells takes ages to show up #6568
Comments
I'd say that it nicely shows at least 3 or 4 issues and I don't expect one quick fix here. For instance, selecting multiple cells in one range like @oleq proposed will not fix the rendering which is per-cell. |
As for the rendering part – my guess is that it may be a regression caused by the table selection overlay introduced recently. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
📝 Provide a description of the improvement
Expected: That's a lot of cells, I get it but the acceptable delay is 1s tops.
Actual: Around ~3s on a i7 MacBook. That's a lot.
Funny fact: De-selecting (e.g. clicking in a cell to create a collapsed selection) is lightning fast. So it's not about rendering but about calculating the selection and it should be simpler to improve.
It looks like the
selection.setRanges()
is the performance hogbecause we pass billions of ranges there. Maybe instead of
we could at least
to limit the number of ranges passed to the engine?
@jodator @Reinmar
If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: