[Top][All Lists]

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

[O] [ANN] Agenda speed up

From: Nicolas Goaziou
Subject: [O] [ANN] Agenda speed up
Date: Sun, 27 Aug 2017 18:16:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)


I rewrote the part responsible for agenda generation in "org-agenda.el".
Basically, I refactored some hot loops and introduced a cache mechanism
for data extracted out of agenda files.

I expect to see some interesting improvements when viewing the agenda
with a span larger than one day, or when generating an agenda view
without having touched most of the agenda files since last view.

Some feedback about the new agenda speed would be nice.

Also, I certainly broke a few things along the way. Please report
anything suspicious.

The only thing that is expected to be defective is
`org-agenda-include-inactive-timestamps'. It has no effect at the
moment. I can activate it again, but I'm wondering if it's worth the
overhead. It is already possible to display clocks and closed timestamps
in the agenda. Other inactive timestamps could be ignored from the
agenda altogether. This is their sole purpose, after all. WDYT?

I attach the behemoth patch here for quick testing. Further bug fixes
will happen in "wip-agenda-speedup" branch.


Nicolas Goaziou                                                0x80A93738

Attachment: 0001-Speed-up-Agenda-generation.patch
Description: Text Data

reply via email to

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