|
From: | Dmitry Gutov |
Subject: | bug#31138: Native json slower than json.el |
Date: | Mon, 22 Apr 2019 15:24:24 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 22.04.2019 15:12, Eli Zaretskii wrote:
Try using 'true' as the last argument of make_specified_string.
Thank you. Tried it, tests now pass, and the performance improvement is the same. I compared the same benchmark (100 iterations, GC disabled for the whole duration), and this patch takes
src/emacs -Q --batch -l ~/examples/elisp/json-test.el Elapsed time: 51.153870s down to $ src/emacs -Q --batch -l ~/examples/elisp/json-test.el Elapsed time: 26.268435s Are you still against it? (Just checking).
[Prev in Thread] | Current Thread | [Next in Thread] |