Hi Stefan,
> E.g. why would the LSP servers send us
> megabytes of data?
Some of the responses/notifications might be big e. g.
1. Diagnostics
2. Semantic highlight data(proportional to file size)
and these combined with several concurrent LSP/DAP servers sending async
notifications. But as Eli mentioned I will have to prepare some test results and
also with emacs 27 native json support to see how it behaves. I have
started the discussion assuming that the reading of the process output is not
performed in the emacs UI thread but in OS thread and I was thinking that adding
a filter to that pipeline won't be a problem. One we (lsp-mode contributors) move
it to native json I will resume the discussion if with some concrete testing data.
Thank you for your time.
Thanks,
Ivan