[Top][All Lists]

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

Re: Against sqlite3!!!

From: David Engster
Subject: Re: Against sqlite3!!!
Date: Tue, 07 Dec 2021 15:50:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Actually, Emacs can serialize/deserialize hash table directly via
> prin1-to-string & read
> ```
> (let ((ht (make-hash-table)))
>   (puthash "test" "value" ht)
>   (format "%S" ht))
> ```
> You can use `read` to "parse" the string returned by that snippet and
> get a hash table.

Yes, and it's slow. The Gnus registry is saved/loaded this way, and this
has annoyed me for years.


reply via email to

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