Karthik Chikmagalur <karthikchikmaga...@gmail.com> writes:

> It's definitely better than the version of org-persist on main right
> now.  Emacs blocks intermittently over the ~3 seconds it takes to
> preview 600 fragments in my test file, but it's not completely blocked
> for 30 seconds like before.  Emacs does not block when previewing
> without caching in org-persist, but that's expected because of the
> reasons you presented.

Ok. I now installed the patches onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ab7df301d2
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b8d01a745b
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=38cd9b0a3a

>> 2. We can allow file containers to store an actual directory. Then, you
>>    will only need to write/read the directory once per session, obtain
>>    its real path from org-persist API, and read/write files inside
>>    manually, as you do without org-persist enabled. This will eliminate
>>    most of the overheads you experience.
>
> Either of these solutions can work.  2 will probably perform better, but
> org-persist offers some niceties like expiring previews -- I don't know
> if that continues to work with 2.

With (2), expiry will still work. But for the directory as a whole.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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