[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
Arthur Miller |
Subject: |
Re: sqlite3 |
Date: |
Mon, 06 Dec 2021 14:07:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Qiantan Hong <qhong@mit.edu> writes:
>> I suggested hashmap serialzied to/from file. I used such approach myself for
>> key-value pairs. It worked fine for me, it was quite simple to read/write
>> it. Currently I am testing a thing, and I use just assoc list to read/write
>> it
>> to a file, and it works fine for me too.
> Did you do it in one-batch, or do you do it incrementally (aka only write the
> delta?). AFAIK the former is currently basically the standard practice
> (printing/reading an alist or sth similar), and it can get too slow if
> the key value map gets large.
>
I just printed out everything at startup and end of application in a batch. But
that could be definitely done incrementaly in idle timer or something. Also one
could add notify watch so if it changed on disk outisde of emacs, it would be
auto reloaded.
- Re: Mutating existing persistent data, (continued)
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07
- Re: Mutating existing persistent data, Joost Kremers, 2021/12/07
- Re: Mutating existing persistent data, Richard Stallman, 2021/12/08
- Re: Mutating existing persistent data, Bob Rogers, 2021/12/07
- Re: sqlite3, Tim Cross, 2021/12/06
- Re: sqlite3, Arthur Miller, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Re: sqlite3,
Arthur Miller <=
- Re: sqlite3, Yuri Khan, 2021/12/06
- Re: sqlite3, Stefan Monnier, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Re: sqlite3, Stefan Monnier, 2021/12/06
- Re: sqlite3, Arthur Miller, 2021/12/06
- Re: sqlite3, Arthur Miller, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Re: sqlite3, Arthur Miller, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06