unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: sindikat@mail36.net, 20075@debbugs.gnu.org
Subject: bug#20075: 24.3; json.el functions are recursive
Date: Fri, 28 May 2021 02:42:41 +0200	[thread overview]
Message-ID: <87k0nj1yf2.fsf@gnus.org> (raw)
In-Reply-To: <5523DBC5.5090703@yandex.ru> (Dmitry Gutov's message of "Tue, 07 Apr 2015 16:29:41 +0300")

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 03/10/2015 11:35 PM, sindikat@mail36.net (sindikat@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





      parent reply	other threads:[~2021-05-28  0:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 21:35 bug#20075: 24.3; json.el functions are recursive sindikat
     [not found] ` <5523DBC5.5090703@yandex.ru>
2021-05-28  0:42   ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0nj1yf2.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=20075@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=sindikat@mail36.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).