[Top][All Lists]

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

Re: db or similar store, anyone?

From: Ted Zlatanov
Subject: Re: db or similar store, anyone?
Date: Mon, 28 Jun 2004 08:51:05 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On 27 Jun 2004, address@hidden wrote:

> And I have started working on this one.  I have low motivation now,
> though, because I have come to see the whole situation as an Emacs
> limitation.  (Why isn't there any C extension interface yet?)  So I'll
> proceed at glacial speed.

You can suggest the specific C extension you mentioned on the
emacs-devel mailing list.  I think in the past I have proposed a
"persistent hashtable" object, which acts just like a hashtable except
reading and writing it affects a file directly.  This is similar to
the Perl "tied" hashes, which I've used many times over the years.
You could simulate this "persistent hashtable" with advice, but it's
really much better to build the support into the C code.

If you propose this, I'll second it because I can use persistent
hashtables for the Gnus registry instead of doing the awkward
conversion to a list, dumping that in Lisp, and saving it.


reply via email to

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