emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] add compiled regexp primitive lisp object


From: Ihor Radchenko
Subject: Re: [PATCH] add compiled regexp primitive lisp object
Date: Tue, 24 Dec 2024 09:30:15 +0000

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

>> 1. They could be inspected from Elisp, and hopefully optimized
>>    better. For now, there is simply no way to detect which parts of
>>    regexps are slow and which are not.
>
> You can now/already use `re--describe-compiled` to inspect the compiled
> regexps used by Emacs's regexp engine.

But only when Emacs is compiled with --enable-checking. Also, no
documentation about the output is available. So, in its current form,
`re--describe-compiled' is only usable for debugging Emacs itself. Not
on Elisp-hacker level.

`re--describe-compiled' can certainly be improved.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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