From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71730 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Gnus range/list makeover Date: Sat, 25 Sep 2010 16:42:39 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285425786 24220 80.91.229.12 (25 Sep 2010 14:43:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 14:43:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20103@lists.math.uh.edu Sat Sep 25 16:43:05 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 1OzVxw-0001AL-QP for ding-account@gmane.org; Sat, 25 Sep 2010 16:43:05 +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 1OzVxs-0005zm-2e; Sat, 25 Sep 2010 09:43:00 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OzVxq-0005zY-IM for ding@lists.math.uh.edu; Sat, 25 Sep 2010 09:42:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzVxm-0002dh-6H for ding@lists.math.uh.edu; Sat, 25 Sep 2010 09:42:58 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzVxl-0004ie-00 for ; Sat, 25 Sep 2010 16:42:53 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzVxi-00015M-Ur for ding@gnus.org; Sat, 25 Sep 2010 16:42:50 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 16:42:50 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 16:42:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUCAQExMTHX1teWlZdx cXIfHh5jY2QLCgpUVFT////9/f3ExMVERETv7++oqKmEhIWafzioAAABj0lEQVQ4jWOYiQMwEJaY 7JKWlo9NYtpB9nIJbBJzCg49rYDzViLpEAi24MGmY777YbMarBKGFW8CsUlMSQ8XxSoxozQ8sBGr c8PLA7HqmBbAzsCK1SgGBhwSoQHYJaacCJDBLiFeoxyKImH3+N3ufUbvpsgctfs4y9hYz+6x8Suw xG1dpdu7L+lOk/vT0jh39yUlJd3bu8ASuzRvz9SaNGla9tbTgnO1dmrO1NTVAktornw3U3O29rQj ruERk2Zqas7S1FwJltikdPem5t1F02TO9xyepH3z0aSbSppgiVlQV4U+2v0Yq3Mb7R5nYA0rcdEz 2ANR5gCOIGlrwC4x+YugXSmUvQpFx7fQb6HYdMwos/mNVWJatnlPKTaJKR0N4eexW+4Y8x+bxPxG u88mWO1gKPnSgV2CPRSr5dNCj6UIYpUQL5fHnkTz2hl9sPrDLjUAa3xMMXN1b1uJzaj80K8m2CSm hLqcMMMmMfnzOzsPbBLz//uk9GA1yk38hCg2idnGj9+9w+ZcNIBIiWgAAC6Eh309T5MoAAAAAElF TkSuQmCC Mail-Copies-To: never X-Now-Playing: Patrick Cowley & Jorge Socarras's _Catholic_: "I Remember" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Ynhhq3MTJl4yRt5WItp9BN7TwCo= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71730 Archived-At: Gnus currently uncompresses some ranges when entering groups. If you have a group with a lot of (unread) articles, and you just want to see the last five, it takes several seconds to uncompress the required ranges. And it's the same problem with groups that are very sparse, like nnimap groups with high UIDs. So I think I'm going to redo all that to keep all the ranges compressed. That means replacing oodles of calls to `memq' in gnus-sum with `gnus-range-memq' and stuff. The result should be much faster group entry in some situations, but it's also likely to lead to breakage. I'm just saying. :-) My plan for how to do this is to first rename (defvar gnus-newsgroup-marked nil) and the equivalent for about 20 other of these variables to (defvar grnus-newsgroup-marked nil) and then letting the compiler find all the instances of the variables, and then convert all accesses to range accesses instead of sequence accesses. And then rename everything back again. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen