[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: Tue, 23 Apr 2019 00:03:30 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 22.04.2019 20:24, Eli Zaretskii wrote:

Yes, but I'm slightly surprised why you loop from the end of the
string and not from the beginning.

To avoid creating an additional pointer variable.

I guess that's expected when the strings in JSON are short enough.

Longer strings take a proportional amount of time to encode, though (only 2x as fast per character, IIRC).

reply via email to

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