Skip to content
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

Avoid quadratic behavior when validating sprites #3379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArneBab
Copy link

@ArneBab ArneBab commented Mar 12, 2021

This patch resolves quadratic behavior (that caused waiting for several minutes) when loading charts with dates on the x-axis where thousands of datapoints lie on the same date-position.

To this end it avoids removing sprites from a list inside a while loop over that same list.

I normally do not use typescript, and the type-specifiers are likely to be overly broad. This change is hand-translated from our javascript patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant