emacs-devel
[Top][All Lists]
Advanced

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

Re: Against sqlite3!!!


From: Qiantan Hong
Subject: Re: Against sqlite3!!!
Date: Tue, 7 Dec 2021 13:55:19 +0000

> Please don't:
> - The function is called `load` (`load-file` is just one of the
>  *commands* defined to access the functionality interactively).
> - This is a security hole.
> 
> `insert-file-contents + read` should hopefully still be fast enough.
Indeed, I’ve attached an updated version, it runs as fast.
I also added kv-rem

> Actually, Emacs can serialize/deserialize hash table directly via
> prin1-to-string & read

ik, this is the current standard practice.
If you follow the sqlite3 thread you see the problem is saving/loading
(aka printing/reading) whole hash table/alist takes too much time.

The point of my implementation is to do it incrementally everytime
the key value store is mutated.


Attachment: resist!.el
Description: resist!.el


reply via email to

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