Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: Idea for turbo expiry
Date: 02 Jan 1997 16:09:12 +0100	[thread overview]
Message-ID: <m2ohf8cdwn.fsf@proletcult.slip.ifi.uio.no> (raw)
In-Reply-To: Jason L Tibbitts III's message of 24 Dec 1996 11:22:59 -0600

Jason L Tibbitts III <tibbs@hpc.uh.edu> 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


      parent reply	other threads:[~1997-01-02 15:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-24 17:22 Jason L Tibbitts III
1996-12-24 18:51 ` David Moore
1996-12-24 20:12   ` Jason L Tibbitts III
1997-01-02 15:09 ` Lars Magne Ingebrigtsen [this message]

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=m2ohf8cdwn.fsf@proletcult.slip.ifi.uio.no \
    --to=larsi@ifi.uio.no \
    /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).