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: Sun, 22 Dec 2024 20:31:35 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> >> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63225
>> >> TL;DR: Compiling regexps can take a significant fraction of time when
>> >> parsing Org documents.
>> >
>> > Which fraction?
>> 
>> Close to 10%. See the very first message.
>
> That's almost negligible, IMO.

It is 2 seconds extra in my tests.
Also, it is ~20% of all the time taken by regexp matching.
I would not call it negligible.

-- 
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]