Article View: news.software.readers
Article #75062Re: Gnus speed
From: Per Abrahamsen
Date: Mon, 02 Apr 2001 10:37
Date: Mon, 02 Apr 2001 10:37
55 lines
3982 bytes
3982 bytes
[ XFUT: gnu.emacs.gnus ] Alan Mackenzie<none@example.invalid> writes: > All due respect, and all that, but I'm not really interested enough in > gnus to subscribe to geg. Isn't gnus's threading speed of sufficient > interest to nsr's regulars to keep the thread here too? Ah well, have a > good discussion in geg, but do feel free to post a summary back to nsr. I doubt the technical details of how Gnus can optimize various features are of broad interest. Many of the answers are specific to Emacs. > Per Abrahamsen <abraham@dina.kvl.dk> wrote on 31 Mar 2001 14:58:14 +0200: > > > Are you sure the time was spend threading? > > No, not really. The time (which is now 8� minutes) is the time it takes > between selecting a group and being able to read articles in it. > Precisely how that time is used isn't of that much interest to me as a > user. (Though, of course, it would be if I wanted to hack the program.) I thought so, which I why I suggested to keep that part of the discussion in the Gnus group. For the NSR readership it must be enough to establish that entering groups with huge numbers of unread is slow in Gnus. > By which you mean, I think, that the summary buffer consists of a list of > _articles_ - Are you suggesting that it might be a better tactic for gnus > merely to create a listing of _threads_, or to have an option of doing > so? Yes, that would be one option worth exploring, at least for large groups. > "lazily"? You mean, surely, "more optimally" or possibly "differently", > don't you? No. "Lazy evaluation" is a well known optimization technique, and is what I was referring to. It is not a derogatory term. It refers to delaying the work as long as possible, which is often useful especially for interactive applications. Emacs has 'lazy-font-lock' which does syntactic highlighting of the buffer lazily, that is, it delay highlighting the buffer until just before the user sees it. It makes entering the buffer faster, but scrolling slower. > > 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. It is by no means certain. For example, Gnus scoring is among the fastest implementations, if not the fastest implementation. It spends almost all its time inside the text processing primitives, written in C, and very little time in the Lisp interpreter itself.
Technical Details
Message-ID:
<rj7l13r3i6.fsf@ssv2.dina.kvl.dk>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!newsfeed.wirehub.nl!howland.erols.net!news.net.uni-c.dk!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: <rj7l13r3i6.fsf@ssv2.dina.kvl.dk>
Subject: Re: Gnus speed
Date: Mon, 02 Apr 2001 10:37:53 +0000
From: Per Abrahamsen <abraham@dina.kvl.dk>
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!newsfeed.wirehub.nl!howland.erols.net!news.net.uni-c.dk!not-for-mail
Newsgroups: news.software.readers,gnu.emacs.gnus
Followup-To: gnu.emacs.gnus
Organization: The Church of Emacs
Lines: 54
Sender: abraham@ssv2.dina.kvl.dk
NNTP-Posting-Host: ssv2.dina.kvl.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.net.uni-c.dk 986207873 52306 130.225.40.226 (2 Apr 2001 10:37:53 GMT)
X-Complaints-To: usenet@news.net.uni-c.dk
NNTP-Posting-Date: Mon, 2 Apr 2001 10:37:53 +0000 (UTC)
X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM<U{B+4e{k79.Ya{~':DblFPCg$
@60,BfLv2@SKZ19cMWK0/C'v;tM:|6B'R}U1rp6CL&kN({9<zF/V{:JCg27yC)9oZjeqcQawzKfiNL
t9}`vjmK["dRQC/qGFQq"%u|Q`:6{"Rz}b(dnl_"3$Jtqimi>|8MBp/
Mail-Copies-To: nobody
User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7