Skip to content

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

Merged
Iliya-usov merged 1 commit intomasterfrom
viewable-list-sync
Sep 2, 2024
Merged

Added "ViewableList.sync" method for optimized updates with a minimal number of change events.#491
Iliya-usov merged 1 commit intomasterfrom
viewable-list-sync

Conversation

@mirasrael
Copy link
Contributor

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.

@mirasrael mirasrael requested a review from Iliya-usov August 9, 2024 09:12
@Iliya-usov Iliya-usov merged commit e256036 into master Sep 2, 2024
@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