Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Gnus vs Wanderlust
Date: Fri, 04 Jun 2004 02:05:56 +0200	[thread overview]
Message-ID: <m3hdts426z.fsf@defun.localdomain> (raw)
In-Reply-To: <87u0xsrzod.fsf@tc-1-100.kawasaki.gol.ne.jp> (Miles Bader's message of "Fri, 04 Jun 2004 08:26:26 +0900")

Miles Bader <miles@gnu.org> writes:

> colin.rafferty@morganstanley.com writes:
>> 1. It does not cache summary layout information.  When it builds a
>>    summary, it has to start from scratch.
>
> Is this actually a problem?  

Yes, from my benchmarking it is.

> Judging from what I see, the great bulk of the time is _not_ in
> summary generation, but rather getting info from the server

That may well be the case if you're fetching from an external NNTP
server (it also depends on network speed, of course).  But if you're
fetching from nnml or a local server like Leafnode, summary generation
is the major bottleneck.

> [My computer's pretty slow by contemporary standards too -- a 450MHz
> pentium]

I can beat that: 220MHz :-(

> I suppose one could try to cache and incrementally update summaries,
> but summary-generation is already so fast, even for very large
> groups, that it might make more sense to investigate whether it
> could be made even faster (maybe even with some new emacs
> primitives).

Doing some low-level caching would should be quite easy by memoizing.
I'm thinking about stuff like `gnus-extract-address-components' which
is likely to be called on identical strings many times during summary
generation.

It probably won't buy us any earth-shattering speedups, but maybe 2-3%
here and there.

-- 
Jesper Harder                                <http://purl.org/harder/>



  parent reply	other threads:[~2004-06-04  0:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-31 10:22 Miguel
2004-05-31 23:03 ` Katsumi Yamaoka
2004-06-01 12:41   ` Lloyd Zusman
2004-06-01 14:40     ` Katsumi Yamaoka
2004-06-01 22:47       ` Lloyd Zusman
2004-06-02 12:33         ` David Abrahams
2004-06-01 15:58 ` colin.rafferty
2004-06-01 22:35   ` Miles Bader
2004-06-01 23:41     ` Katsumi Yamaoka
2004-06-02  0:13       ` Miles Bader
2004-06-02 15:26     ` colin.rafferty
     [not found]       ` <vgvwu2q2d6m.wl-CC0PidyB7H7SDKTOTjYG+/RivMblJc010E9HWUfgJXw@public.gmane.org>
2004-06-02 17:21         ` Jochen Küpper
2004-06-03 16:39       ` Kai Grossjohann
2004-06-03 19:28         ` colin.rafferty
     [not found]         ` <vgvwu2o1lwc.wl@paias746.morganstanley.com>
2004-06-04  5:16           ` Kai Grossjohann
2004-06-03 23:26       ` Miles Bader
2004-06-03 23:39         ` Lloyd Zusman
2004-06-04  0:05         ` Jesper Harder [this message]
2004-06-04  0:16           ` Miles Bader
2004-06-04  9:41         ` Simon Josefsson
2004-06-04 16:43           ` Karl Chen
2004-06-04 19:24             ` Kai Grossjohann
2004-06-05 10:40           ` Miles Bader
2004-06-05 15:14             ` Simon Josefsson
2004-06-06 18:35               ` Karl Chen
2004-06-06 20:31                 ` Simon Josefsson

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=m3hdts426z.fsf@defun.localdomain \
    --to=harder@ifa.au.dk \
    /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).