From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66386 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.gnus.general Subject: Re: Problems with gnus-registry Date: Thu, 28 Feb 2008 16:53:47 +0100 Message-ID: References: <76sl0vma5q.fsf@dev-d01.ppllc.com> <86k5loxulw.fsf@lifelogs.com> <76tzkoq1t4.fsf@dev-d01.ppllc.com> <868x20wi2a.fsf@lifelogs.com> <76y7a0nyo3.fsf@dev-d01.ppllc.com> <86lk60uwwq.fsf@lifelogs.com> <764pconmz4.fsf@dev-d01.ppllc.com> <86abmfv3ig.fsf@lifelogs.com> <767ihjm5qn.fsf@dev-d01.ppllc.com> <86myqfoxrv.fsf@lifelogs.com> <76y79zkpnx.fsf@dev-d01.ppllc.com> <868x1yp3lr.fsf@lifelogs.com> <86odasai1l.fsf@lifelogs.com> <86wsp777fi.fsf@lifelogs.com> <861w6xp1k7.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204213996 29357 80.91.229.12 (28 Feb 2008 15:53:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 15:53:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14877@lists.math.uh.edu Thu Feb 28 16:53:42 2008 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 1JUl4Q-0002Au-7B for ding-account@gmane.org; Thu, 28 Feb 2008 16:53:18 +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 1JUl2y-0008SN-GE; Thu, 28 Feb 2008 09:51:48 -0600 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 1JUl2w-0008Rw-U7 for ding@lists.math.uh.edu; Thu, 28 Feb 2008 09:51:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JUl2q-0004o9-Q5 for ding@lists.math.uh.edu; Thu, 28 Feb 2008 09:51:46 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JUl2w-0005oO-00 for ; Thu, 28 Feb 2008 16:51:46 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JUl2o-0002Ny-VF for ding@gnus.org; Thu, 28 Feb 2008 15:51:38 +0000 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2008 15:51:38 +0000 Original-Received: from de_bb by kafka.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2008 15:51:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: kafka.physik3.gwdg.de User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:PDtQZIcGXcOctj7S9DS0BJNDcdQ= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66386 Archived-At: Ted Zlatanov writes: > D> By the way, I'm currently playing around with the registry labels and > D> was wondering: what would currently be the best way to get all message > D> ids with a certain label? This way, I could easily create nnmairix > D> groups containing only these messages. > > TZ> Currently there's no reverse mapping. We have it for subject and > TZ> sender, and it should be fairly easy to generalize it for multi-value > TZ> entries like the labels. See gnus-registry-fetch-extra-entry for the > TZ> cache insertion part; gnus-registry-split-fancy-with-parent uses the > TZ> cache. I think the code could be much better, BTW. > > David, do you still need this? Have you tried maphash against the whole > registry to see if it's fast enough, or do we still need labels? Yes, I've tried it with maphash. It takes about 0.1sec and my registry has ~17k entries. I'd say that's fast enough. :-) -David