emacs-devel
[Top][All Lists]
Advanced

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

Re: JSON/YAML/TOML/etc. parsing performance


From: Philipp Stephani
Subject: Re: JSON/YAML/TOML/etc. parsing performance
Date: Sun, 08 Oct 2017 23:09:22 +0000



Paul Eggert <address@hidden> schrieb am Fr., 6. Okt. 2017 um 03:58 Uhr:
The basic idea here is that json.c should be using xmalloc for
allocation anyway, for reasons other than size overflow checking.


I don't think Jansson can use xmalloc because xmalloc can exit nonlocally, which is not expected by a third-party library such as Jansson. It could use a suitable wrapper of lmalloc, though. 

reply via email to

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