Max Nikulin <maniku...@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