[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31138: Native json slower than json.el

From: Dmitry Gutov
Subject: bug#31138: Native json slower than json.el
Date: Mon, 22 Apr 2019 18:41:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 22.04.2019 18:25, Eli Zaretskii wrote:

But not a better measurement of how json.c is actually used, I'm afraid
(unless you're trying to cut out the time Emacs spends reading from
disk). So even if my benchmark gives more attention to buffer-decoding
routines, it probably reflects practical usage too (JSON usually comes
from HTTP response, and it has to be decoded as well).

But it shows the upper limit of what we can expect,
Not if we manage to optimize the commonly-used subroutines as well.

insert-file-contents probably uses code_convert_string somewhere inside, right?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]