Article View: news.software.readers
Article #75014Re: Gnus speed
From: Russ Allbery
Date: Sun, 01 Apr 2001 22:22
Date: Sun, 01 Apr 2001 22:22
53 lines
3531 bytes
3531 bytes
Alan Mackenzie writes: > Per Abrahamsen <abraham@dina.kvl.dk> wrote on 31 Mar 2001 14:58:14 +0200: >> .... including coloring and a lot of other text attributes, when you >> enter the group. > That'd be a fine thing! Gnu emacs doesn't do colours on a text console, XEmacs does, if that's important for you and you want to try it. >> This is quite convenient in that you can do all things usually done on >> a text buffer and that navigating in the summary buffer is extremely >> fast, but it does mean that the time to enter the group get slow, >> especially compared to newsreaders that generate the summary lazily. > "lazily"? You mean, surely, "more optimally" or possibly "differently", > don't you? I'm pretty sure he means lazily in the sense of lazy evaluation. It's a programming term, meaning roughly that you put off doing work as long as possible because it may not actually be needed. Gnus generates the entire summary buffer up-front, all 10,000 lines of it for 10,000 unread articles, even if you only look at the first 100 lines and then leave the group again. That's the non-lazy approach. >> Threading also takes time, maybe too long time, but I don't think that >> is the current bottleneck. > Surely, the bottleneck is the emacs-lisp interpreter. Surely? Why are you sure of that? It's been proven time and time again that choice of algorithm is an order of magnitude more important than implementation language for almost all problems in computer science. It's true that elisp isn't the zippiest language in the world, but I think it's far from obvious that bottlenecks in Gnus are fundamental attributes of the implementation language. In this case in particular, Gnus is actually doing more work than many other news readers do in the same situation, which makes it unsurprising that it's slower. The question is whether there's a good way to let it do less work without impacting the usability once one has entered the group. I think what you're seeing is that Gnus is not well-optimized for that particular operation (entering a group with a huge number of unread articles). I don't find that particularly surprising; at least with the way that I read news, that's an extremely infrequent operation and for me personally isn't worth optimizing. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl1yrci7kv.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<Xns907199D2355A2RarAvishotmailcom@127.0.0.1> <Xns907211BAF2744wiredearp@194.182.148.146> <uitkutvuv.fsf@yahoo.com> <k3ht99.l5.ln@acm.acm> <rj1yre3xjt.fsf_-_@ssv2.dina.kvl.dk> <ns58a9.e6.ln@acm.acm>Show Full Headers
Complete Article Headers
Message-ID: <yl1yrci7kv.fsf@windlord.stanford.edu> Subject: Re: Gnus speed Date: Sun, 01 Apr 2001 22:22:24 +0000 From: Russ Allbery <rra@stanford.edu> References: <Xns907199D2355A2RarAvishotmailcom@127.0.0.1> <Xns907211BAF2744wiredearp@194.182.148.146> <uitkutvuv.fsf@yahoo.com> <k3ht99.l5.ln@acm.acm> <rj1yre3xjt.fsf_-_@ssv2.dina.kvl.dk> <ns58a9.e6.ln@acm.acm> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.readers,gnu.emacs.gnus Organization: The Eyrie Lines: 52 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 986163745 23844 171.64.13.23 (1 Apr 2001 22:22:25 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)