emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (r


From: Ihor Radchenko
Subject: Re: [BUG] org-persist-write-all is slow because of use of pp [9.8-pre (release_9.7.8-713-g62cbac @ /home/viz/lib/emacs/straight/build/org/)]
Date: Sat, 10 Aug 2024 13:11:11 +0000

Visuwesh <visuweshm@gmail.com> writes:

>> So much for the idea of readable index file.
>
> It is unfortunate, indeed, since the pp version of the file is really
> handy when looking into org-persist issues.  Though, I must mention that
> the slowness reported in OP is compounded by my fairly aggressive CPU
> governor settings (in hopes of improving battery life).

AFAIK, the underlying cause is bad scaling of `pp' algo. So, it will
only get worse (like O(N^2) worse) with increasing number of index
entries. Different CPU settings will just change the threshold when the
problem is triggered.

-- 
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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]