-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Revert this-parameter filtering for methods #31349
Comments
Removing the logic doesn't seem to do much from what we've seen. Completions are still ridiculously slow. |
See #31354 for the real fix. |
I'm reopening this issue. Turns out this-parameter filtering is also a contributor to the slowdown, it's just that the eager conditional type true/false branch resolution is the main offender. I have verified that removing the this-parameter filtering greatly speeds up completions with styled-components. We basically need both fixes. |
Understandable if we have to, but it would be unfortunate. Libraries like fp-ts v2 would be affected. |
Is it really worth it? Will some flag to turn this on be present? DX will suffer a lot :/ |
We believe #20616 may be the cause of some recent slowness in editor completions. We are considering reverting the feature to increase performance (admittedly at the expense of some editor UX).
The text was updated successfully, but these errors were encountered: