Skip to content

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

Open
joao-pedro-braz wants to merge 1 commit intofeenkcom:mainfrom
joao-pedro-braz:main
Open

BlHostEventFetched: Collapse duplicated/similar events to avoid over-processing#15
joao-pedro-braz wants to merge 1 commit intofeenkcom:mainfrom
joao-pedro-braz:main

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