Visuwesh <visuwe...@gmail.com> writes: > I am using the async LaTeX preview branch and org-persist-write-all > takes a lot of time to finish executing due to the use of pp when saving > the index file. Changing org-persist-write:index to not pass a non-nil > PP argument to org-persist--write-elisp-file changes the execution time > of org-persist-write-all from 62 secs to just 8 secs. For reference, > > (length org-persist--index) ;; ⇒ 1504 > > I have attached the profiler report for org-persist--index of much > smaller length but if required I can reproduce a report for the full one > too.
So much for the idea of readable index file. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f9351456e7 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>