emacs-devel
[Top][All Lists]
Advanced

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

Re: Org mode and Emacs (was: Convert README.org to plain text README whi


From: Ihor Radchenko
Subject: Re: Org mode and Emacs (was: Convert README.org to plain text README while installing package)
Date: Fri, 17 Jun 2022 14:11:05 +0800

Eli Zaretskii <eliz@gnu.org> writes:

>> What will happen if you run
>> (progn (goto-char 1) (while (re-search-forward "^\\*+ " nil t)))
>> right after exporting. Does it take siginficant amount of time?
>
> It's instantaneous.
>
>> What if you run M-: (org-macro--collect-macros) directly in the buffer?
>
> Also instantaneous.

And yet it took 15% of CPU time according to your profile. Something
fishy is going on here. My guess that it is GC.

Best,
Ihor



reply via email to

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