diff options
| author | Mattias EngdegÄrd | 2025-09-04 11:22:57 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2025-09-07 14:39:24 +0200 |
| commit | 36c8ebe78a048db7886f070168858d457b486caf (patch) | |
| tree | fa4bc9f4a368b4e61915fa76c974567ceb02d9c2 /java/Makefile.in | |
| parent | 11b3af64251a899c697b685cf7b311274be8dc6d (diff) | |
| download | emacs-36c8ebe78a048db7886f070168858d457b486caf.tar.gz emacs-36c8ebe78a048db7886f070168858d457b486caf.zip | |
Avoid unnecessary text decoding in jsonrpc for speed (bug#79361)
The built-in JSON parser works on undecoded (unibyte) input; decoding
received data is just a waste and does take time even when all-ASCII.
* lisp/jsonrpc.el (initialize-instance): Use unibyte process buffer and
binary coding for process I/O, implying unibyte strings being passed to
the filter function.
(jsonrpc-connection-send): More efficient message generation.
(jsonrpc--json-read): Compatibility code for the old elisp json parser.
(jsonrpc--process-filter): Faster header-matching regexp.
Diffstat (limited to 'java/Makefile.in')
0 files changed, 0 insertions, 0 deletions