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: Ivan
Subject: bug#31138: Native json slower than json.el
Date: Mon, 22 Apr 2019 19:53:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Hi Eli, Dmitry,


Do you know whether this library was considered when implementing the json parser?

https://github.com/zserge/jsmn

Based on my limited understanding I think that it might be better fit for what we are trying to solve.


Thanks,

Ivan



On 4/22/19 4:17 PM, Eli Zaretskii wrote:
From: yyoncho <yyoncho@gmail.com>
Date: Mon, 22 Apr 2019 16:00:13 +0300
Cc: Dmitry Gutov <dgutov@yandex.ru>, Sébastien Chapuis <sebastien@chapu.is>,
        31138@debbugs.gnu.org

JSON spec is stable. FYI json.el parser is 568 loc. Both formats have a similar 
complexity with json being a
bit simpler(fewer data structures).
Then I hope someone will try implementing that as part of Emacs, and
we will see the resulting performance.





reply via email to

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