|
From: | Dmitry Gutov |
Subject: | bug#31138: Native json slower than json.el |
Date: | Wed, 24 Apr 2019 20:36:56 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 24.04.2019 20:06, Eli Zaretskii wrote:
No, I think it's decoded by low-level code which reads output from the process. At least by default.
But what conversion primitives does that low-level code use? code_convert_region?
The question is, do we want to signal an error ourselves, or do we want to rely on the library?
Relying on the library is probably faster. Though I'm not sure why we would be confident enough to rely on it in this case, but not the other.
I'll happily benchmark a patch, if you have any.
[Prev in Thread] | Current Thread | [Next in Thread] |