emacs-devel
[Top][All Lists]
Advanced

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

Re: New package: resist!


From: Karl Fogel
Subject: Re: New package: resist!
Date: Wed, 08 Dec 2021 18:48:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux)

On 08 Dec 2021, Qiantan Hong wrote:
This package implements persistence facility.
It provides two level of interfaces:
- A high-level persistent variable facility
- A low-level persistent key-value store facility

The persistent variable facility detects changes of values
persistent variables in an idle timer and persist the changes
into a persistent key-value store.
Multiple methods for detecting and computing the changes are
provided. See `make-persistent-variable' for details.

The persistent key-value store provides the following functions:
- Creating and compressing store: `make-kv-store', `compact-kv-store' - Put, remove and look up key value pairs: `kv-put', `kv-rem', `kv-get',
- List operations: `kv-push', `kv-delete'
See their docstrings for details.
All changes are persisted immediately into external storage.

Does this package require the entire store to be loaded into memory in order for a single value to be looked up or stored?

It looks like it does (based on reading `kv-get', etc), but I might be missing something.

Best regards,
-Karl



reply via email to

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