emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [


From: Ihor Radchenko
Subject: Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]
Date: Sat, 24 Sep 2022 11:28:58 +0800

Max Nikulin <manikulin@gmail.com> writes:

> On 23/09/2022 10:05, Ihor Radchenko wrote:
>> 
>> I added caching of `org-diary-sexp-entry' results in
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4075662c298da7fa7e2ba19e0b8b36c58852cc0f
>
> Sorry for the noise. I am unsure concerning exact effect of the commit, 
>   I hope, if agenda is rebuilt after several days since first call, 
> actual timestamps are used. Maybe my note makes no sense since I am 
> completely ignorant concerning generation of agenda.

The cache keys are the function arguments. And agenda date is one of
those arguments:

    "Process a SEXP diary ENTRY for date D."

The only real concern I can think about is cache size that may grow over
a very long Emacs sessions. But I am unsure if this is something we
really need to worry about in practice.

-- 
Ihor Radchenko,
Org mode contributor,
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]