From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9263 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Idea for turbo expiry Date: 02 Jan 1997 16:09:12 +0100 Sender: larsi@proletcult.slip.ifi.uio.no 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 1035149313 17381 80.91.224.250 (20 Oct 2002 21:28:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:28:33 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id IAA28120 for ; Thu, 2 Jan 1997 08:18:19 -0800 Original-Received: from proletcult.slip.ifi.uio.no (root@ppp16.larris.ifi.uio.no [129.240.68.116]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 2 Jan 1997 17:03:57 +0100 Original-Received: (from larsi@localhost) by proletcult.slip.ifi.uio.no (8.8.2/8.8.2) id QAA00431; Thu, 2 Jan 1997 16:09:13 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Jason L Tibbitts III's message of 24 Dec 1996 11:22:59 -0600 Original-Lines: 23 X-Mailer: Red Gnus v0.77/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > I dipped into the expiry code to see why it was taking so much CPU every > time I exited an nnml group. It looks to me like it builds a list of all > expirable articles and stats each of them in turn to see if they're old > enough. Yup. The added complexity is there because you can gzip (etc) the files, so nnml has to dance and jiggle around a bit to find the names of the files. > My idea is to make the assumption that articles come in chronologically, so > that if an article has a lower number, it it older. Thus you can run the > list of articles in numerical order and bail after you find one that is too > young to expire. Or we could just assume that all the articles are in the .overview file and use that to find out what articles are in the group. That should be much quicker, and only slightly less general. -- (domestic pets only, the antidote for overdose, milk.) larsi@ifi.uio.no * Lars Ingebrigtsen