From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65336 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Huge memory consumption on accessing large newsgroup Date: Wed, 03 Oct 2007 10:19:14 +1000 Organization: Cybersource: Australia's Leading Linux and Open Source Solutions Company Message-ID: <87d4vxxd6l.fsf@enki.rimspace.net> References: <87wsw4u21m.fsf@gmx.de> <87sl6rh886.fsf@gmx.de> <87hcldp4j1.fsf@srcf.ucam.org> <87odfjprux.fsf@enki.rimspace.net> <874phatd0z.fsf@enki.rimspace.net> <871wcdww0l.fsf@enki.rimspace.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191370789 5370 80.91.229.12 (3 Oct 2007 00:19:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2007 00:19:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13847@lists.math.uh.edu Wed Oct 03 02:19:44 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Icrxn-0006pC-NT for ding-account@gmane.org; Wed, 03 Oct 2007 02:19:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Icrxd-00076f-HQ; Tue, 02 Oct 2007 19:19:33 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Icrxc-00076O-89 for ding@lists.math.uh.edu; Tue, 02 Oct 2007 19:19:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IcrxW-00083l-19 for ding@lists.math.uh.edu; Tue, 02 Oct 2007 19:19:32 -0500 Original-Received: from 203-217-31-68.perm.iinet.net.au ([203.217.31.68] helo=anu.rimspace.net) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IcrxM-0006rP-00 for ; Wed, 03 Oct 2007 02:19:17 +0200 Original-Received: by anu.rimspace.net (Postfix, from userid 10) id 99E0C192002F; Wed, 3 Oct 2007 10:19:21 +1000 (EST) Original-Received: by enki.rimspace.net (Postfix, from userid 1000) id 061AB2F05AF; Wed, 3 Oct 2007 10:19:14 +1000 (EST) In-Reply-To: (Ted Zlatanov's message of "Tue, 02 Oct 2007 11:08:26 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65336 Archived-At: Ted Zlatanov writes: > On Tue, 02 Oct 2007 22:17:46 +1000 Daniel Pittman wrote: > DP> Ted Zlatanov writes: > >>> The `gnus-uncompress-range' function is not called in too many >>> places: > >>> In gnus-number-of-unseen-articles-in-group for example it's called >>> only to find the length of the list, and in >>> gnus-move-group-to-server only to see if the list is not nil. > > DP> Mmm. The not nil version should really be killed, as a guide, and > DP> the length isn't too awful. The length version can just call > DP> `gnus-range-length' and be done with it... > > Those were just two examples I saw right away. Will you or Gaute do > the whole cleanup, or should it be an open task for the Gnus team > (I'll get to it when I can, or someone else will)? Open the task, I suggest, unless Gaute is willing to commit to finishing the job. I ... have more than enough on my plate with having to move offices, home and deal with a few other life issues that I can't promise to finish the job. (Plus, having done all the easy bits the rest is actually vaguely hard.) Daniel -- Daniel Pittman Phone: 03 9621 2377 Level 4, 10 Queen St, Melbourne Web: http://www.cyber.com.au Cybersource: Australia's Leading Linux and Open Source Solutions Company