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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to