diff options
| author | Mark Oteiza | 2017-09-15 09:49:27 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2017-09-15 09:49:27 -0400 |
| commit | 3b783a75ad6b609d4e0f60c2d31d4fe91dd08c62 (patch) | |
| tree | cc68fda423370b7ff00cc6f5dd81de61b698c6e7 /admin | |
| parent | 817e92b2bddbdbe18d3b8cd34533b4bec04d313d (diff) | |
| download | emacs-3b783a75ad6b609d4e0f60c2d31d4fe91dd08c62.tar.gz emacs-3b783a75ad6b609d4e0f60c2d31d4fe91dd08c62.zip | |
More JSON optimization
Last I checked, inlining json-skip-whitespace didn't make much
difference. However, changing defsubsts to define-inline results
in roughly 15% reduction in read time on a 200K file.
* lisp/json.el (json-advance, json-peek, json-pop):
(json-skip-whitespace): Inline with define-inline.
(json-read-keyword): Don't use whitespace syntax.
(json-add-to-object): Simpler condition.
Diffstat (limited to 'admin')
0 files changed, 0 insertions, 0 deletions