[Top][All Lists]

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

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

From: Eli Zaretskii
Subject: Re: JSON/YAML/TOML/etc. parsing performance
Date: Thu, 05 Oct 2017 10:14:38 +0300

> From: Paul Eggert <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Wed, 4 Oct 2017 18:48:04 -0700
> Sorry, I looked only at this month's part of the thead. When I went back 
> to last month's I found this:
> http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg01080.html
> for which I suggest the attached as a simplification. One idea here is 
> that there is no need for eassert (E) unless there's a genuine doubt 
> that E will be true (in some cases the removed eassert (E) calls were 
> ineffective anyway, due to preceding eassume (E) calls). The patch cuts 
> down the number of integer overflow checks to six in json.c, if I'm 
> counting correctly, and that should be good enough.

Thanks.  This is indeed good progress.  However, I think we could make
even more progress by changing some of our primitives to accept size_t
arguments.  See my other message for the details.

reply via email to

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