From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39749 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Archiving large NNML groups quickly. Date: Tue, 30 Oct 2001 12:54:05 +0100 (CET) Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1035175410 29599 80.91.224.250 (21 Oct 2002 04:43:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:43:30 +0000 (UTC) Cc: Daniel Pittman , Return-Path: Original-Received: (qmail 15985 invoked from network); 30 Oct 2001 11:56:08 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 30 Oct 2001 11:56:08 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15yXUI-0006HA-00; Tue, 30 Oct 2001 05:55:22 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 30 Oct 2001 05:55:00 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA07438 for ; Tue, 30 Oct 2001 05:54:50 -0600 (CST) Original-Received: (qmail 15968 invoked by alias); 30 Oct 2001 11:55:06 -0000 Original-Received: (qmail 15963 invoked from network); 30 Oct 2001 11:55:06 -0000 Original-Received: from unknown (HELO slipsten.extundo.com) (195.42.214.241) by gnus.org with SMTP; 30 Oct 2001 11:55:06 -0000 Original-Received: from localhost (jas@localhost) by slipsten.extundo.com (8.11.6/8.11.6) with ESMTP id f9UBs6b27848; Tue, 30 Oct 2001 12:54:06 +0100 X-Authentication-Warning: slipsten.extundo.com: jas owned process doing -bs Original-To: Kai =?iso-8859-1?q?Gro=DFjohann?= In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39749 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39749 On Tue, 30 Oct 2001, Kai Großjohann wrote: > Simon Josefsson writes: > > > IMHO the active file should be eliminated, and a ".active" file in > > each nnml group should be used instead. > > This means that Gnus has to recursively search ~/Mail, at least if > long file names are not in effect. This could be quite slow. No recursive searching is needed, I think, just use the subscribed group name in Gnus to find the filename. Of course, instead of reading only 1 file (active) you need to read N files, but it is only necessary to do it once and after that keep things in memory -- right now the active file is often read from disk. So in the end, it would probably be about the same speed. When listing all groups, a recursive find is needed though. Or maybe the active file should simply be removed completely (not replaced by .active), the active info could be kept in .newsrc.eld (.marks) instead. If we change the format of .marks it would even be simple to manipulate it from shell/perl scripts. Hm, what do you think?