Closed David-Ciz closed 1 year ago
Hi,
removeAllLabels() in LabelPanel is very slow when called on larger amounts of labels. This is due to fireLabelsChanged() being called after every item. This small change speeds up the deletion and increases stability.
removeAllLabels()
fireLabelsChanged()
@David-Ciz Thank you for the PR. It is nice simple and very reasonable. Sorry for the late merge.
Did you test if this fixes the performance problem as intended?
Hi,
removeAllLabels()
in LabelPanel is very slow when called on larger amounts of labels. This is due tofireLabelsChanged()
being called after every item. This small change speeds up the deletion and increases stability.