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

Optimize refreshing of objects' list #104

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sulfasTor
Copy link

When updating hundreds of objects it lags amazingly because of the object list being recreated each time a little modification is detected.

This pull request optimizes the refreshing which reduces the lag by 200%.

Sulf added 4 commits August 31, 2019 11:24
When an object is deleted updates it status in the list.
Updates the object's name on the list instead of recreating it
Each function calling StopEditEvent() calls also RenderObjectList. Removing these lines avoids recreating the object list twice. This can be problematic when updating hundreds of objects.
This function refreshes the object list modifying only the DOM element who was deleted or it name changed.
@nkrot
Copy link

nkrot commented Jul 14, 2021

@quantombone , @adikhosla
Any chances that this PR will be merged w/o NASA funancing?

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