emacs-devel
[Top][All Lists]
Advanced

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

Re: Mutating existing persistent data


From: Lars Ingebrigtsen
Subject: Re: Mutating existing persistent data
Date: Tue, 07 Dec 2021 06:41:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> I think the fallback mechanism should also store data to disk, perhaps
> by serializing a hash table with `print' and writing it to a file.

That would mean writing a lots of itsy bitsy files (i.e., using the file
system as the DB) if this is going to have any kind of meaningful
concurrency.  Otherwise Emacsen will just be overwriting each other's
data aggressively.

And it'll be dog slow.

So I don't see the use case.  Virtually all systems have sqlite, and if
the users have chosen to not build Emacs with it, they don't get the
persistence feature.  That's no different from when they choose to build
without libxml -- they don't get to read web pages in Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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