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

BlHostEventFetched: Collapse duplicated/similar events to avoid over-processing #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joao-pedro-braz
Copy link

BlHostEventFetched can now collapse (i.e. skip) collapse-able events before flushing them. This avoids having to process multiple events that are all essentially identical in a single frame, which can lead to stuttering and, most likely, having the UI feel sluggish when selecting text.

@joao-pedro-braz
Copy link
Author

Clarified BlHostEventFetcher >> fetchedEventsDo: comment and also improved how we collapse events.

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.

1 participant