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

fix slow sort function #104

Merged
merged 2 commits into from
Oct 26, 2022
Merged

Conversation

chriscauley
Copy link
Collaborator

Because the plando table had become large the old sort function was noticeably slow. The old sort function was sorting the nodes in place (so each row gets moved multiple times). The new function measures at ~70 ms (compared to 26000ms before). There is still a visual delay, but I think that's because the whole page is re-rendering. To improve on this we'll have to paginate the table.

@theonlydude theonlydude merged commit 657e6e1 into theonlydude:master Oct 26, 2022
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.

2 participants