Gnus development mailing list
 help / color / mirror / Atom feed
From: Wes Hardaker <wes@hardakers.net>
Subject: thoughts on speeding up gnus: caching the summary buffer
Date: Fri, 03 May 2002 06:59:44 -0700	[thread overview]
Message-ID: <sdk7qlmiwf.fsf@wanderer.hardakers.net> (raw)


So, I have another thought for how to speed up gnus.  Significantly.
But it's probably hard.

We all know that much of the time, we simply stare at that little line
saying "Generating summary buffer" and sigh wishing we had a faster
processor.  But shouldn't it be theoretically possible to save the
contents of the summary buffer from the previous entry into the group
until next time and merely add to it?  This obviously couldn't be done
trivially.  It's likely the cache would have to contain a point
reference to every previously specified article in order to account
for thread insertions, etc.  New dummy threads would likely be a
killer.

Worst case, you could save the thread tree and possible the
insertion/marking commands into a generated .el file or something, and
then operate on that list to insert new items.

Occasionally, at least, you'd need to clear the cache as the
expired->deleted articles would no longer be available, for example,
and thus the summary buffer shouldn't technically contain them.
Moved/copied articles would have to be left marked as
'no-longer-existent' (or whatever it's called that turns the line
black), but I'd live with those lines still being present to get a
speed improvement.

-- 
"The trouble with having an open mind, of course, is that people will
 insist on coming along and trying to put things in it."   -- Terry Pratchett



                 reply	other threads:[~2002-05-03 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=sdk7qlmiwf.fsf@wanderer.hardakers.net \
    --to=wes@hardakers.net \
    /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).