You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written leoc/org-helpers. I find your implementation and flexibility much better, but it seems to be much slower than my simple attempt of generalizing the ideas of Bernt Hansen. Have you run into problems concerning performance? I am not that deep into hacking org-mode, so maybe we could discuss some ways of improving performance? 😄
I'd be happy to do some implementation then 👍
Some things I can think of:
not finding the parent multiple times
expanding macros to combined queries (finding parent once, doing the queries on this one)
using basic buffer functions instead of org-functions (those seem to be a little slower)
more caching
Cheers!
The text was updated successfully, but these errors were encountered:
Hi, thanks for opening this issue and sorry for the late reply. I use one 600 kb org file and I have noticed it is not fast. I have not implemented anything to improve the performance, but I have done some experiments with memoization of functions that were called a lot according to a profiling. I don't remember what the results were though... But I think you are right about the possible improvements. I would suggest profiling the code again to identify the functions that are called the most and go from there.
I would love to help out making this more performant, but my second daughter was born last month so I won't have a lot of time the coming months. I will keep watching my PR's and issues so I can merge and provide information were I can.
Can we improve the performance?
I have written leoc/org-helpers. I find your implementation and flexibility much better, but it seems to be much slower than my simple attempt of generalizing the ideas of Bernt Hansen. Have you run into problems concerning performance? I am not that deep into hacking org-mode, so maybe we could discuss some ways of improving performance? 😄
I'd be happy to do some implementation then 👍
Some things I can think of:
Cheers!
The text was updated successfully, but these errors were encountered: