GNU bug report logs - #20075
24.3; json.el functions are recursive

Previous Next

Package: emacs;

Reported by: sindikat <at> mail36.net (sindikat <at> mail36.net)

Date: Tue, 10 Mar 2015 21:36:01 UTC

Severity: wishlist

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20075 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: sindikat <at> mail36.net, 20075 <at> debbugs.gnu.org
Subject: Re: bug#20075: 24.3; json.el functions are recursive
Date: Fri, 28 May 2021 02:42:41 +0200
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 03/10/2015 11:35 PM, sindikat <at> mail36.net (sindikat <at> mail36.net) wrote:
>> Feature request: rewrite `json.el' so that it doesn't use recursive
>> functions. Emacs doesn't support TCO, therefore invoking `json.el'
>> functions on huge data structures results in stack overflow.
>>
>> For example, I created a ridiculously huge data structure using a
>> function from `dash.el':  ...
>
> Have you seen this to be an actual problem in practice?

There was no response to this.  However, Emacs has in recent years
gotten support for libjansson to parse JSON, so this issue shouldn't be
relevant any more, and I'm closing this bug report.

(And if it is, I think the work-around is to increase max-specpdl-size
around the json.el functions.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.