emacs-devel
[Top][All Lists]
Advanced

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

Re: persistent data feature


From: Ihor Radchenko
Subject: Re: persistent data feature
Date: Sun, 12 Dec 2021 11:48:02 +0800

Qiantan Hong <qhong@mit.edu> writes:

> I think a good fit to that would be incremental image.

Note that not all data can be saved incrementally. Org mode's cache is
currently using AVL-tree with extra links between nodes - it is a
full-scale circular object. I am not sure if there is a universal way to
store and update such data incrementally.

> Is it possible to have Emacs save/load part of the heap
> (e.g. reachable from a root object) quickly, potentially
> by directly mapping the memory in the load case?
> Is pdumper useful for that purpose?

Anything that speeds up read/write would be helpful. From my experience,
reading large cache data for org-persist takes 2-3 seconds (though it is
still 2-3x faster compared to re-building cache from scratch).

Best,
Ihor



reply via email to

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