emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Speeding up agenda display


From: Carsten Dominik
Subject: Re: [Orgmode] Speeding up agenda display
Date: Sat, 2 Jan 2010 20:37:45 +0100


On Jan 2, 2010, at 3:38 PM, Andrew J. Korty wrote:

On Jan 2, 2010, at 02:50 , Carsten Dominik wrote:

You can shave off another .5 seconds by pressing the selection key
faster - Org spends 0.46 seconds to wait for your keypress :-)

Good point. :-)

I optimized things a bit more by caching skip positions and schedule, deadline, and tag data for each point a skip function is called in a hash. An example hash value might be

(((due-soon . t) (started . nil) (tagged-for-home . t)) . skip- position)

These savings add up when you have several slightly differing agendas in a block agenda.

Hi Andrew,

that is interesting.  I have been thinking about caching often
but always stopped implementing it because, being a plain text
system, there is always the possibility that thinks are being
changed behind the back of the cache.  How are you handling
updating the cache?

- Carsten





reply via email to

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