bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#31138: Native json slower than json.el


From: Eli Zaretskii
Subject: bug#31138: Native json slower than json.el
Date: Sun, 21 Apr 2019 23:13:19 +0300

> Date: Sun, 21 Apr 2019 22:03:07 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: sebastien@chapu.is, dgutov@yandex.ru, 31138@debbugs.gnu.org
> 
> > But even if we had to convert it, we can do it
> > once(e. g. apply decode string on the input string) instead of doing that 
> > for each string in the JSON and
> > eventually yield performance improvement?
> 
> We can do that, yes.

Actually, I think I was confused regarding your question: the input
string in the use cases we were discussing was already decoded.  We
encode it before passing it to the jansson library.

So I don't see how we could avoid decoding each string we receive from
the library.





reply via email to

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