Gnus development mailing list
 help / color / mirror / Atom feed
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Subject: Idea for turbo expiry
Date: 24 Dec 1996 11:22:59 -0600	[thread overview]
Message-ID: <ufa3ewvc0wc.fsf@sina.hpc.uh.edu> (raw)

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.

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.  I figure (judging from how much mail I save in some of my
active folders) that this would cut my expiry time by a factor of 100 or
more.

Yes, it's easy to fool.  Just touch (or edit) a random article and watch it
hold up expiry of everything after it.  I'm willing to make that sacrifice,
at least for some groups.

 - J<


             reply	other threads:[~1996-12-24 17:22 UTC|newest]

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

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=ufa3ewvc0wc.fsf@sina.hpc.uh.edu \
    --to=tibbs@hpc.uh.edu \
    /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).