From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52819 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: fast local-file storage for Gnus Date: Sat, 24 May 2003 13:08:07 +0200 Organization: University of Duisburg, Germany Sender: ding-owner@lists.math.uh.edu Message-ID: <84wuggy548.fsf@lucy.is.informatik.uni-duisburg.de> References: <4nvfw19zgy.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053774443 7271 80.91.224.249 (24 May 2003 11:07:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 11:07:23 +0000 (UTC) Original-X-From: ding-owner+M1363@lists.math.uh.edu Sat May 24 13:07:22 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JWrx-0001t9-00 for ; Sat, 24 May 2003 13:07:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JWtA-0003Sp-00; Sat, 24 May 2003 06:08:36 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JWt5-0003Sk-00 for ding@lists.math.uh.edu; Sat, 24 May 2003 06:08:31 -0500 Original-Received: (qmail 35014 invoked by alias); 24 May 2003 11:08:30 -0000 Original-Received: (qmail 35009 invoked from network); 24 May 2003 11:08:30 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 24 May 2003 11:08:30 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19JX3I-0006S8-00 for ; Sat, 24 May 2003 13:19:04 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 19 Original-NNTP-Posting-Host: pd951f7ee.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1053775144 24807 217.81.247.238 (24 May 2003 11:19:04 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 24 May 2003 11:19:04 GMT Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:MwqeAOX0O6JJ9qqylCa7uOzrhF8= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52819 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52819 Ted Zlatanov writes: > This may be more of an Emacs question, but what can we use to do fast > file-based storage in Gnus? The registry and many others would > benefit from this. A GDBM interface would be good. > If anyone knows of a simple way to tie a text key to a text value in a > single file, that's all I need (with the usual add, delete, change, > iterate functions). If not, I could write a generic DB format in > Emacs Lisp that stores the data in a text file, encoded to escape > binary data, and indexed in some way. I'm hoping to avoid that. BBDB uses print and read, and I guess that's the fastest you can do in Emacs. (Hm. Maybe create Lisp and byte-compile it.) -- This line is not blank.