From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74055 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: Improving Gnus speed Date: Sat, 13 Nov 2010 21:46:01 +0100 Message-ID: References: <87zktemkwl.fsf@uwo.ca> <87vd42mdci.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289681319 24133 80.91.229.12 (13 Nov 2010 20:48:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 20:48:39 +0000 (UTC) Cc: ding@gnus.org To: Dan Christensen Original-X-From: ding-owner+M22423@lists.math.uh.edu Sat Nov 13 21:48:32 2010 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.69) (envelope-from ) id 1PHN1O-0007LU-WE for ding-account@gmane.org; Sat, 13 Nov 2010 21:48:27 +0100 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 1PHMzk-0002ED-TM; Sat, 13 Nov 2010 14:46:44 -0600 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 1PHMzh-0002Dz-I3 for ding@lists.math.uh.edu; Sat, 13 Nov 2010 14:46:41 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PHMzf-0007PI-Ir for ding@lists.math.uh.edu; Sat, 13 Nov 2010 14:46:40 -0600 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PHMzd-0001VE-00 for ; Sat, 13 Nov 2010 21:46:37 +0100 Original-Received: by wyb29 with SMTP id 29so1161397wyb.17 for ; Sat, 13 Nov 2010 12:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=LiY/tZRwvWof1Utmr21jvN3Dh0dt8vuoxfIozq48gF4=; b=LrQnicf94ldyXVVIaK6L7NXLNfUAWMPxr94nuKadzaWkjbXITquGRLC48akbCSr8TM VymKW8t1B4D5ndZWrcrqgouIeUAsAf4xSOtdSmM3XYgwrM0/ZEwJUZE6kyMtqgbwWXiQ XZau3+l7I1zP2aGaLOeuKQVgTxml2x1oSWERA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=tBKbDdULWifiBATqObEqKxpBMw8ciHptRMphoCv+grJZk8PqLYiyqfTeHcQ5pkAJvf wPbhlPJGkyJlV4VQvJQJvPd0P3XlxLVYlJkBOKYJx6K1aMUhBgq5wJ5j8wNNrNV6rwVQ /Pm4tItYZHqc5jtS2kRC+sQTkcJWE7rpzJ8fo= Original-Received: by 10.216.171.19 with SMTP id q19mr5075567wel.53.1289681167082; Sat, 13 Nov 2010 12:46:07 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id y80sm2888849weq.3.2010.11.13.12.46.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Nov 2010 12:46:05 -0800 (PST) In-Reply-To: <87vd42mdci.fsf@uwo.ca> (Dan Christensen's message of "Fri, 12 Nov 2010 16:38:53 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74055 Archived-At: Dan Christensen writes: > Francis Moreau writes: > >> But why are there so many calls to gnus-thread-total-score and >> gnus-thread-sort-by-most-recent-date knowing that my group contains only >> 1298 articles ? > > The way thread sorting works is that not only are the threads sorted, > but the children of each article are also sorted using the same > function. So it gets called recursively a lot of times. That's > why a change I made to cache the parsed date/time info makes such > a bit difference. Hmm, I'm wondering if sorting the 'children' for a given thread is really important. I would say that I could live without it I think specially if it makes group entering faster. Or better, when entering in a group, threads are not expanded, and sorting children could happen when expanding threads. That would make the group entering much faster and children could still be sorted. -- Francis