]> git.eshelyaron.com Git - emacs.git/commit
Speed up JSON parsing
authorEli Zaretskii <eliz@gnu.org>
Tue, 23 Apr 2019 10:20:46 +0000 (13:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 23 Apr 2019 10:20:46 +0000 (13:20 +0300)
commitdb2c9308492a158b9fa97aa9280a7897885f7760
tree9033b4bb43c368f883b9004ebe764616db0c7829
parentb59429a43ebe96b3882b237440ac79ad95e636c8
Speed up JSON parsing

Thanks to Dmitry Gutov <dgutov@yandex.ru> for running many
benchmarks and for useful discussions.
* src/json.c (json_make_string): Speed up parsing of JSON
strings by optimizing the normal case of a valid UTF-8 string
being returned from libjansson.  (Bug#31138)
src/json.c