Re: [PATCH] org-clock-sum: Rewrite function to improve performance

2023-07-20 Thread Ihor Radchenko
Morgan Smith writes: > I have a very big file with lots of clock entries and refreshing my clocktable > has become slow. Using '(benchmark-elapse (org-ctrl-c-ctrl-c))' I saw that it > took 5.660532903 seconds to refresh it! After this rewrite it only takes > 3.384914703 seconds. Not great,

[PATCH] org-clock-sum: Rewrite function to improve performance

2023-07-19 Thread Morgan Smith
* lisp/org-clock.el(org-clock-sum): Rewrite function using 'org-element-map' to traverse the file instead of searching. --- Hello! I have a very big file with lots of clock entries and refreshing my clocktable has become slow. Using '(benchmark-elapse (org-ctrl-c-ctrl-c))' I saw that it took