From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24068 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Holes in article sequence Date: 09 Jul 1999 20:20:57 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <874sjhjitm.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161699 6689 80.91.224.250 (21 Oct 2002 00:54:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:54:59 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA24033 for ; Fri, 9 Jul 1999 14:15:37 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB22036; Fri, 9 Jul 1999 13:15:30 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Jul 1999 13:16:18 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA14521 for ; Fri, 9 Jul 1999 13:16:03 -0500 (CDT) Original-Received: from quimbies.gnus.org (bang.netfonds.no [195.1.89.231]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA24007 for ; Fri, 9 Jul 1999 14:15:01 -0400 (EDT) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id UAA11418; Fri, 9 Jul 1999 20:28:41 +0200 Mail-Copies-To: never X-Now-Reading: Bryan Cholfin (ed.)'s _The Best of Crank!_ X-Now-Playing: Sussan Deihim & Richard Horowitz's _Desert Equations: Azax Attra_: "I'm A Man" Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "09 Jul 1999 19:11:09 +0200" User-Agent: Gnus/5.070094 (Pterodactyl Gnus v0.94) Emacs/20.3 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ What about having the backend look for the articles actually in the > group, and then intersecting this set with the set of > potentially-to-be-expired articles, then only iterating over that > intersection? Yes. But the potentially costly operation is the "find all the articles in the current group" thing. For instance, nnfolder will have to search through the folder, tallying all the messages. If this is in response to a total-expiry thing, then that is ok, since nnfolder will have to do that anyway, but if it's a different expiry policy, then the list that nnfolder is handed is much, much smaller. So what is the best way kinda depends on the number of articles the backend is asked to expire. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen