Closed jcs090218 closed 2 years ago
@jcs090218 just curious, how much performance does this PR improve?
@ericdallo I'm still playing around and hope the user experience can be snappier. I am pretty much wrapping all inhibit-redisplay
, buffer-list-update-hook
, etc with new macro lsp-ui--with-no-redisplay
. I have done something similar to elp-revive/company-box (my fork), and it got faster without changing the outcome.
I don't know how much the performance will be improved, but I guess it's a good start?
This patch does the following,
lsp-ui-util
tolsp-ui
lsp-ui--with-no-redisplay