emacs-devel
[Top][All Lists]
Advanced

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

Re: pcase generates an unprintable expansion for a form in test erc--res


From: Andrea Corallo
Subject: Re: pcase generates an unprintable expansion for a form in test erc--restore-initialize-priors
Date: Fri, 31 May 2024 03:32:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I must admit however - I still wonder: Code and matched structures will
>> be proper short-length lists most of the time - would it be possible and
>> make sense to handle all list elements at the same recursion level
>> instead of doing O(length) recursive descents?
>
> I think if you look at the bytecode you'll see it uses a lot less
> stack space, so the problem is not as serious as it seems.

True, just to mention that OTOH code running during bootstrap is
impacted, native comp as you know is a pcase aficionado and in the past
and in some of my experimental branches I encountered this limit.

  Andrea



reply via email to

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