all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: John Wiegley <johnw@gnu.org>, 36216@debbugs.gnu.org
Subject: bug#36216: 27.0.50; Variable binding depth exceeds max-specpld-size during bootstrap
Date: Sun, 16 Jun 2019 17:32:53 -0400	[thread overview]
Message-ID: <jwva7ehxpgu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAAeL0SQROCzVS4P5jRpqDOg6P8V1U-BoHg+iaRXx06wTnGdnzA@mail.gmail.com> (Juanma Barranquero's message of "Sun, 16 Jun 2019 21:49:29 +0200")

> In this case, with max-specpdl-size = 1300 it was working, now it
> requires on the order of 1435 or so, which is at least a 10% increment
> (likely a bit more, assuming it didn't need exactly 1300 before).
> That's not very big, but certainly significant.

Exactly, 10% is quite significant.  It can easily happen for perfectly
legitimate reasons, but there's a chance it's an undesirable side-effect
of some change which has a more global impact.


        Stefan


PS: When I tried it here, `git bisect` pointed the finger at:

    commit afdc20d73c8588e5a744ecf7bffaf4401a557d20 (HEAD, refs/bisect/bad)
    Author: Mattias Engdegård <mattiase@acm.org>
    Date:   Wed May 15 22:44:00 2019 +0200
    
        Allow zero-argument rx `or' and `seq' forms
        
        Make the rx `or' and `seq' forms accept zero arguments to produce a
        never-matching regexp and an empty string, respectively.
        
        * lisp/emacs-lisp/rx.el: Require cl-extra.
        (rx-constituents, rx-or): Permit zero args.
        (rx): Amend doc string for `or' and `seq'.
        * test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-seq): Test the change.
        * etc/NEWS (Changes in Specialized Modes and Packages): Mention the change.

which suggests the 10% increase is localized: I guess we "require
cl-extra" right when we happen to be (near) the deepest recursion and
since it's not yet byte-compiled it causes yet more recursive
eager-macroexpansion.






  parent reply	other threads:[~2019-06-16 21:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-15  0:53 bug#36216: 27.0.50; Variable binding depth exceeds max-specpld-size during bootstrap Juanma Barranquero
2019-06-15  6:29 ` Eli Zaretskii
2019-06-15 10:00   ` Juanma Barranquero
2019-06-15 10:13     ` Eli Zaretskii
2019-06-16  5:57       ` Juanma Barranquero
2019-06-16 12:01         ` Juanma Barranquero
2019-06-16 14:04           ` Eli Zaretskii
2019-06-16 14:17             ` Juanma Barranquero
2019-06-16 14:20               ` Eli Zaretskii
2019-06-16 19:34                 ` Stefan Monnier
2019-06-16 19:49                   ` Juanma Barranquero
2019-06-16 21:22                     ` Juanma Barranquero
2019-06-27 20:17                       ` Juanma Barranquero
2019-06-16 21:32                     ` Stefan Monnier [this message]
2019-06-15 11:22 ` Lars Ingebrigtsen
2019-06-16  6:01   ` Juanma Barranquero

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

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

  git send-email \
    --in-reply-to=jwva7ehxpgu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=36216@debbugs.gnu.org \
    --cc=johnw@gnu.org \
    --cc=lekktu@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.