[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mutating existing persistent data
From: |
Qiantan Hong |
Subject: |
Re: Mutating existing persistent data |
Date: |
Tue, 7 Dec 2021 07:03:56 +0000 |
>> That’s interesting. If you declare a variable persistent
>> and the modified a cons deeply nested inside what the
>> variable points to, are you able to store the mutation
>> as a single (log operation)?
>
> No, I store the whole value.
It’s a persistent kv store then.
I think we can implement it painlessly in pure Lisp without sqlite3,
as in https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00587.html
Maybe provide it as an (always available) backend for your sticky.el?
I also suspect sqlite3 won’t give any noticeable performance benefit
over plain Emacs Lisp, because you need to print s-expr for each
individual Lisp key/values anyway.
- Re: Mutating existing persistent data, (continued)
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Andreas Schwab, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data,
Qiantan Hong <=
- Re: Mutating existing persistent data, Ihor Radchenko, 2021/12/06
- Re: Mutating existing persistent data, Eli Zaretskii, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Eli Zaretskii, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Stefan Kangas, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Bob Rogers, 2021/12/07
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07