From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4036 Path: main.gmane.org!not-for-mail From: larsi@ifi.uio.no (Lars Magne Ingebrigtsen) Newsgroups: gmane.emacs.gnus.general Subject: Re: group-name symbols and obarrays Date: 18 Nov 1995 07:49:55 +0100 Organization: Dept. of Informatics, University of Oslo, Norway Sender: larsi@ifi.uio.no Message-ID: References: <9511142202.AA01390@cujo.cygnus.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144842 28336 80.91.224.250 (20 Oct 2002 20:14:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:14:02 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id XAA14775 for ; Fri, 17 Nov 1995 23:23:58 -0800 Original-Received: from surt.ifi.uio.no (4867@surt.ifi.uio.no [129.240.76.2]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 18 Nov 1995 07:49:56 +0100 Original-Received: (from larsi@localhost) by surt.ifi.uio.no ; Sat, 18 Nov 1995 07:49:56 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Ken Raeburn's message of Tue, 14 Nov 1995 17:02:16 -0500 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:4036 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4036 Ken Raeburn writes: > Is there a reason why functions like gnus-group-list-groups and > gnus-group-insert-group-line intern the group names in the default > obarray instead of using one of the gnus hash tables? No. So in September 0.14 they're all interned in `gnus-active-hashtb', which is a hash table where most the group name symbols already exists, so this should be a majorish improvement. If you list 5000 groups, you would get 5000 new symbols interned in September 0.12. > Lots of gnus menu entry strings clutter the obarray too, and I have > menus disabled using menu-bar-mode in my .emacs file. Yup. The menus are created even when `menu-bar-mode' is nil, which is a bug, I guess. Fix in 0.15. But that means that the menus won't appear as advertised if the user toggles `menu-bar-mode' a lot... -- Home is where the cat is.