From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5533 Path: main.gmane.org!not-for-mail From: larsi@ifi.uio.no (Lars Magne Ingebrigtsen) Newsgroups: gmane.emacs.gnus.general Subject: Re: Let's get effective! Date: 14 Mar 1996 06:35:02 +0100 Organization: Dept. of Informatics, University of Oslo, Norway Sender: larsi@ifi.uio.no Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146124 652 80.91.224.250 (20 Oct 2002 20:35:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:35:24 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id CAA20628 for ; Thu, 14 Mar 1996 02:57:02 -0800 Original-Received: from eistla.ifi.uio.no (4867@eistla.ifi.uio.no [129.240.94.29]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 14 Mar 1996 06:35:03 +0100 Original-Received: (from larsi@localhost) by eistla.ifi.uio.no ; Thu, 14 Mar 1996 06:35:02 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Steven L Baur's message of 12 Mar 1996 20:10:02 -0800 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:5533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5533 Steven L Baur writes: > I trust you are optimizing for reduced memory usage also? You'd be wrong to trust me to do anything. :-) Anyways, I've now hacked up alloc.c to defvar all the interesting alloc variables and I've hacked up elp.el to profile using these variables to monitor for consing, stringsing, vectoring and so on. It even looks like it might be working! We'll see what comes of it. I've done some slight calculation on what how much memory Gnus should theoretically use for each article in a group. The answer is: (+ (* (+ 6 10 20) 8) 200 200) => 688 bytes That means that Emacs should grow with half a meg when entering a 1000 article group the first time. I think we can all agree that Emacs grows quite a bit more. -- "Yes. The journey through the human heart would have to wait until some other time."