diff options
| author | Mattias EngdegÄrd | 2026-03-03 17:13:36 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2026-03-03 17:21:16 +0100 |
| commit | dfa4a0e5a28b6f0081f973cfa254c2b31a66edf7 (patch) | |
| tree | c740d9c730ec31432accce4f718d0f6b03f90e0c /java | |
| parent | 72a1bda7595d5c4928b3da2801450ebc1e5300ae (diff) | |
| download | emacs-dfa4a0e5a28b6f0081f973cfa254c2b31a66edf7.tar.gz emacs-dfa4a0e5a28b6f0081f973cfa254c2b31a66edf7.zip | |
Faster JSON string serialisation (bug#80529)
* src/json.c (json_out_string):
Optimise for runs of non-special ASCII chars.
This seems to be a a substantial performance gain for long strings but a
smaller regression for short strings (up to 6 chars or thereabouts,
depending on cpu, compiler, and/or C library). Still likely worth it.
Suggested by Pavel <cyberkm@gmail.com>.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions