bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34910: 27.0.50; Too much matching reentrancy


From: Eli Zaretskii
Subject: bug#34910: 27.0.50; Too much matching reentrancy
Date: Sat, 30 Mar 2019 16:37:03 +0300

> From: Mattias Engdegård <address@hidden>
> Date: Sat, 30 Mar 2019 14:05:50 +0100
> Cc: Eli Zaretskii <address@hidden>, address@hidden, address@hidden
> 
> 30 mars 2019 kl. 13.55 skrev Stefan Monnier <address@hidden>:
> > 
> > It was probably just an oversight, because whether we're searching
> > within strings or within buffers the same problems appear with \{N\}
> > repetitions (where the counter is stored directly inside the
> > regexp-byte-code) and with on-the-fly strength-reduction (where we
> > replace some byte-code with cheaper ones (where applicable) on the first
> > pass through the regexp).
> 
> Is the reentrancy just in preparation for future needs, or is it possible to 
> re-enter the regexp code right now?

I think the former, since reentrance could only happen if a Lisp
thread yields while inside a regexp function, which I think is not
possible, since we never call 'select' or any Lisp from there, do we?





reply via email to

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