Gnus development mailing list
 help / color / mirror / Atom feed
From: Raja R Harinath <harinath@cs.umn.edu>
Subject: Re: message registry for Gnus
Date: Sun, 02 Feb 2003 11:15:47 -0600	[thread overview]
Message-ID: <d9bs1uob7g.fsf@bose.cs.umn.edu> (raw)
In-Reply-To: <m3adhfbhb6.fsf@heechee.beld.net> (Ted Zlatanov's message of "Sat, 01 Feb 2003 20:30:05 -0500")

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sat, 01 Feb 2003, harinath@cs.umn.edu wrote:
>> See
>> 
>>   http://article.gmane.org/gmane.emacs.gnus.general/8065
>> 
>> for some of the possible uses for the registry.  I'm sure the actual
>> mechanics suggested there are somewhat bogus.
>
> Wow, you posted that in 1996?  You've been slacking :)

[blush]

But as Lars said then, the set of message-ids covered were somewhat
disjoint.  If we now have a registry of all mail message-ids, then
it's more appropriate now.

> :seen is not needed as you state, is it?  We only need to store the
> actual article number and full group name associated with the message
> ID in a property that's a list each time we see the message ID
> spooled, copied, or moved.  If there are more than one entries in the
> list, the article is duplicated somewhere.  This is sufficient to find
> any article's copies by message ID.

Yep.  However, the idea was for an in-memory data structure only.
So, I wanted a doubly-linked-list to get at all the seen msgids to
save as ~/News/suppression.  Anyway, I didn't say the design was good :-)

> :refs-to and :has-refs-from seem to be better off in a separate table
> (if articles are nodes in a graph and references are edges - for a
> generic graph it's easier to store the edges in a separate table if I
> remember my database design)

This is the 'adjacency list' data structure -- good in-memory, and not
too shabby for saving on-disk, esp. in a custom registry.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu



  reply	other threads:[~2003-02-02 17:15 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-31 17:15 Ted Zlatanov
2003-02-01 10:28 ` Kai Großjohann
2003-02-01 16:39 ` Lars Magne Ingebrigtsen
2003-02-01 20:20   ` Ted Zlatanov
2003-02-02 12:10     ` Lars Magne Ingebrigtsen
2003-02-02 15:14       ` Ted Zlatanov
2003-02-07 12:20         ` Lars Magne Ingebrigtsen
2003-02-02 16:54     ` Kai Großjohann
2003-02-03 20:47       ` Ted Zlatanov
2003-02-04 15:25         ` Simon Josefsson
2003-02-04 19:57           ` Ted Zlatanov
2003-02-05  5:56             ` Simon Josefsson
2003-02-07 20:43               ` Ted Zlatanov
2003-02-02  0:35   ` Raja R Harinath
2003-02-02  1:30     ` Ted Zlatanov
2003-02-02 17:15       ` Raja R Harinath [this message]
2003-02-07 20:48 ` Ted Zlatanov
2003-02-07 21:10   ` Lars Magne Ingebrigtsen
2003-02-07 22:45     ` Ted Zlatanov
2003-02-08 20:39       ` Lars Magne Ingebrigtsen
2003-02-21 19:05 ` Ted Zlatanov
2003-02-22 22:20   ` Lars Magne Ingebrigtsen
2003-02-24 15:36     ` Ted Zlatanov
2003-02-24 16:58       ` Andreas Fuchs
2006-09-28 13:20         ` gnus-registry: alist-to-hashtable, hashtable-to-alist (was: message registry for Gnus) Reiner Steib
2006-09-28 14:21           ` gnus-registry: alist-to-hashtable, hashtable-to-alist Ted Zlatanov
2006-09-28 16:03             ` CHENG Gao
2006-09-28 16:58               ` Reiner Steib
2003-02-24 21:57       ` message registry for Gnus Lars Magne Ingebrigtsen
2003-02-24 22:14         ` Ted Zlatanov
2003-02-25  7:19           ` Kai Großjohann
2003-02-25 17:57             ` Ted Zlatanov
2003-03-28  9:20   ` Ted Zlatanov
2003-04-16 20:35 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9bs1uob7g.fsf@bose.cs.umn.edu \
    --to=harinath@cs.umn.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).