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

Don't lookup the listener so many times #1589

Merged
merged 3 commits into from
Feb 20, 2021

Conversation

rwols
Copy link
Member

@rwols rwols commented Feb 20, 2021

A tiny improvement. Found during debugging of #1575. Most notably, the
provider_exists is called for a few different providers, and each time
we do the same lookup. This is now avoided by remembering with which
listener we are dealing with.

A tiny improvement. Found during debugging of #1575. Most notably, the
`provider_exists` is called for a few different providers, and each time
we do the same lookup. This is now avoided by remembering with which
listener we are dealing with.
@rwols rwols changed the title Don't lookup the listener so much Don't lookup the listener so many times Feb 20, 2021
Copy link
Member

@rchl rchl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this change but while trying out this change, I've noticed that on going to next/previous diagnostics with F4/shift+F4, the popup is not always shown. I think that's because the popup is shown before the view is scrolled completely and ST closes the popup if it's not in the viewport.

@rwols rwols merged commit cb8da0b into st4000-exploration Feb 20, 2021
@rwols rwols deleted the fix/listener-for-view branch February 20, 2021 22:28
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