amcharts4 icon indicating copy to clipboard operation
amcharts4 copied to clipboard

Avoid quadratic behavior when validating sprites

Open ArneBab opened this issue 3 years ago • 0 comments

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.

ArneBab avatar Mar 12 '21 10:03 ArneBab