From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24051 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: Holes in article sequence Date: 09 Jul 1999 19:11:09 +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 1035161686 6617 80.91.224.250 (21 Oct 2002 00:54:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:54:46 +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 NAA22631 for ; Fri, 9 Jul 1999 13:12:16 -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 MAB21379; Fri, 9 Jul 1999 12:12:08 -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 12:12:59 -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 MAA13219 for ; Fri, 9 Jul 1999 12:12:49 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id NAA22597 for ; Fri, 9 Jul 1999 13:11:47 -0400 (EDT) Original-Received: from petty.cs.uni-dortmund.de (petty.cs.uni-dortmund.de [129.217.20.161]) by waldorf.cs.uni-dortmund.de with SMTP id TAA16385 for ; Fri, 9 Jul 1999 19:11:10 +0200 (MES) Original-Received: (grossjoh@localhost) by petty.cs.uni-dortmund.de id TAA00006; Fri, 9 Jul 1999 19:11:09 +0200 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "09 Jul 1999 19:06:57 +0200" Original-Lines: 22 User-Agent: Gnus/5.070093 (Pterodactyl Gnus v0.93) Emacs/20.3.11 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24051 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24051 Lars Magne Ingebrigtsen writes: > Hrvoje Niksic writes: > > > Now, if you have a big hole in your article range -- e.g. your article > > range is 128 - 12300 because you ticked article no. 128 -- total > > expiry will stat tens of thousands of non-existant files every time > > you leave the group. That tends to get a bit slow. > > One could speed things up by having the backend look at what articles > exist in the group, and then iterate over that instead of the other > way around. That would be much, much quicker for groups with big > "holes" in them. It might be slower in other situations, though. 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? kai -- Life is hard and then you die.