News for hackers. Stuff that matters.
Re:Mastering Emacs: What's new in Emacs 29.1 by oblio on Thursday September 07, 2023 @09:33PM (#37428174)
Have you profiled things and have data to show JSON handling is the root of the performance issues?
Re:Mastering Emacs: What's new in Emacs 29.1 by shepmaster on Thursday September 07, 2023 @09:56PM (#37428330)
Not the person you are replying to, but the JSON performance of Emacs was a well-known thorn in the side for using LSP.

Further details...

... from the same source as the top post: https://www.masteringemacs.org/article/speed-up-emacs-libjan...

... from lsp-mode: https://emacs-lsp.github.io/lsp-mode/page/performance/#json-...

Re:Mastering Emacs: What's new in Emacs 29.1 by oblio on Friday September 08, 2023 @05:31AM (#37431489)
Ah, ok, I get what you mean, but those are not inherent JSON issues. After all, VS Code & co use the exact same protocol in a speedy fashion.

It's Emacs needing to be configured to use faster JSON libraries.

The original comment was complaining about JSON as a format itself, and my argument is that unless you need super high performance, JSON is more than enough. And it's not like LSP is passing around GB of data every second, let's be real here :-)