Re: [O] [Orgmode] Slow speed of week and month views

2017-08-06 Thread John Kitchin
Karl Voit writes: > Hello John, > > Great to read your thoughts on the topic - I am a huge admirer of > your work and we both seem to cope with similar issues with > Org-mode. Thanks! I am an equal admirer of the Memacs package. I think we share some common interests there. I came across the

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-06 Thread Karl Voit
Hello John, Great to read your thoughts on the topic - I am a huge admirer of your work and we both seem to cope with similar issues with Org-mode. * John Kitchin wrote: > > One is to use the new dynamic module capability to write an org parser in > C, or a dedicated

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-05 Thread Adam Porter
Thanks for your comments, John, that is very interesting. I'll have to check out your db code. I'll drop a penny in the bucket with this: http://github.com/alphapapa/org-agenda-ng I spent a few hours trying an alternative approach that uses org-element-parse-buffer to parse each file, then

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-05 Thread Tim Cross
I think the only viable first step is the profiling. One of the main reasons I like org-mode is that all the data is just text in files and it does not have any dependencies on other external systems apart for publishing/exporting. While there may be a need for external utilities to improve

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-05 Thread John Kitchin
I can think of two possibilities for a future approach (besides a deep dive on profiling the current elisp to improve the speed there). They both involve some substantial coding though, and would probably add dependencies. I am curious what anyone things about these, or if there are other ideas.

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-05 Thread Karl Voit
Thanks for the insight! * Adam Porter wrote: > > But doing that would, as Carsten said, require rewriting a lot of code. > Essentially you'd be creating a new agenda system, so you'd have to > reimplement a lot of existing code. You could do it in parallel, rather > than

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-04 Thread Adam Porter
Christoph Groth writes: > Carsten Dominik wrote in 2010: > >> I am afraid I don't see any major speed improvements that could make >> this happen. Yes, one could parse all the files once, build a table >> in memory and get the entries for each day from there - >> but

Re: [O] [Orgmode] Slow speed of week and month views

2017-08-04 Thread Christoph Groth
Carsten Dominik wrote in 2010: I am afraid I don't see any major speed improvements that could make this happen. Yes, one could parse all the files once, build a table in memory and get the entries for each day from there - but that comes down to a complete rewrite of the parser, maybe even