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

Added "ViewableList.sync" method for optimized updates with a minimal number of change events. #491

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

mirasrael
Copy link
Collaborator

Added the "sync" method to ViewableList for optimized list updates.

Normally with a list you don't care about batch modifications and can recreate a list from new elements, but for a viewable list you generate an event on every change, and it may be costly in some cases to process them all. With the sync method you may receive only significant change events.

@Iliya-usov Iliya-usov merged commit e256036 into master Sep 2, 2024
9 of 10 checks passed
@ForNeVeR ForNeVeR deleted the viewable-list-sync branch September 2, 2024 21:19
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