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: Björn Bidar
Subject: Re: [PATCH] add compiled regexp primitive lisp object
Date: Mon, 23 Dec 2024 15:38:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@posteo.net> writes:

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

Also 10% or 20% percent the effect such an improvement becomes more
significant the bigger the data is or the slower the computer is Emacs
runs on.

Org-Mode files can become quite big, other files possibly too.



reply via email to

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