* lisp/org-habit.el: (org-habit-parse-todo) Don't parse more days than
needed.
When constructing a consistency graph, org-habit now stops searching
for timestamps when the number of matches exceeds the span of time
displayed in the graph. This can lead to a significant speedup in
agenda
Applied, thanks.
- Carsten
On Jan 25, 2011, at 9:03 PM, Matt Lundin wrote:
* lisp/org-habit.el: (org-habit-parse-todo) Don't parse more days than
needed.
When constructing a consistency graph, org-habit now stops searching
for timestamps when the number of matches exceeds the span of time
Hi Matt
Hmmm,
this looks like a very important optimisation indeed.
I am just wondering if it is always safe to do it like
this. Have you checked if this is influenced by
org-reverse-notes-order or similar things?
- Carsten
On Jan 19, 2011, at 1:39 PM, Matt Lundin wrote:
*
On Jan 25, 2011, at 7:01 AM, Carsten Dominik wrote:
Hi Matt
Hmmm,
this looks like a very important optimisation indeed.
I am just wondering if it is always safe to do it like
this. Have you checked if this is influenced by
org-reverse-notes-order or similar things?
I am sorry, I see now
* lisp/org-habit.el: (org-habit-parse-todo) Don't parse more days than
needed.
When constructing a consistency graph, org-habit (with this patch) will
stop searching for timestamps when the number of matches exceeds the
span of time displayed in the graph. This can produce a significant
speedup