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

Axis Label pool is never cleared #167

Closed
dgrechka opened this issue Jan 25, 2019 · 1 comment
Closed

Axis Label pool is never cleared #167

dgrechka opened this issue Jan 25, 2019 · 1 comment

Comments

@dgrechka
Copy link
Contributor

DivPool inside TickSource accumulates divs with labels infinitely. It is only cleared in case of label style change.

This may cause gradual degradation of axis performance as traversing the pool for the needed div takes O(L) and L increases during the lifetime of the Axis object (where L is total number of labels ever displayed by the axis instance)

@dgrechka
Copy link
Contributor Author

L is not total number of labels ever displayed. L is a maximum number of labels ever displayed simultaneously. So there is no issue.

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

No branches or pull requests

1 participant