Subject: bug#1028: Improvement: Persistent Hash Store with GDBM

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 29 Feb 2016 15:52:24 +1100

barry <[email-masked]> writes:

> This is not a bug but an enhancement, which implements persistent
> hash store using gdbm to effect the storage.
>
> The code is in file gdbm.c (below), with some minor
> changes to Makefile.in (in the emacs/src directory) and
> emacs.c to include the new functions into the emacs build.
>
> The new functions are as follows and mirror the
> equivalent functions in the gdbm package itself:
>
> 1. gdbm-open
> 2. gdbm-close
> 3. gdbm-fetch
> 4. gdbm-store
> 5. gdbm-delete
> 6. gdbm-exists
> 7. gdbm-firstkey
> 8. gdbm-nextkey
> 9. gdbm-sync
> 10.gdbm-reorganize

These days, an SQLite backend or something would probably be more
useful, but I don't really see much of a use case for accessing a gdbm
database from Emacs, so I'm closing this bug report.

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