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: yyoncho
Subject: bug#31138: Native json slower than json.el
Date: Mon, 22 Apr 2019 16:00:13 +0300

Hi Eli,

If you were suggesting that we implement reading JSON objects as part
of Emacs, then yes, this won't need to encode/decode anything.  I'm
not sure the result will be as fast as read-from-string, since we are
talking about a different syntax.  Also, I'm not sure how hard would
that be nor how much maintenance will it require (does the JSON spec
change frequently?).  But if someone knows the answers, perhaps it's
an alternative worth considering.

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).

Thanks,
Ivan 

reply via email to

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