From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: PURESIZE increased (again) Date: Fri, 28 Apr 2006 00:38:34 +0200 Message-ID: <85ejzihcet.fsf@lola.goethe.zz> References: <87lku5u6tx.fsf@pacem.orebokech.com> <16F5541A-23E7-473C-A4D5-61E3B6930526@raeburn.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146177609 26052 80.91.229.2 (27 Apr 2006 22:40:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Apr 2006 22:40:09 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 28 00:40:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZF9K-0001j2-K5 for ged-emacs-devel@m.gmane.org; Fri, 28 Apr 2006 00:39:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZF9K-0003cX-53 for ged-emacs-devel@m.gmane.org; Thu, 27 Apr 2006 18:39:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZF8N-00032R-Md for emacs-devel@gnu.org; Thu, 27 Apr 2006 18:38:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZF8N-000324-2Z for emacs-devel@gnu.org; Thu, 27 Apr 2006 18:38:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZF8M-00031y-U2 for emacs-devel@gnu.org; Thu, 27 Apr 2006 18:38:50 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZFBN-0004h0-0y for emacs-devel@gnu.org; Thu, 27 Apr 2006 18:41:57 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FZF8L-0000YV-Up; Thu, 27 Apr 2006 18:38:50 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 9D7591D1FFCC; Fri, 28 Apr 2006 00:38:34 +0200 (CEST) Original-To: Ken Raeburn In-Reply-To: <16F5541A-23E7-473C-A4D5-61E3B6930526@raeburn.org> (Ken Raeburn's message of "Thu, 27 Apr 2006 18:24:55 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53526 Archived-At: Ken Raeburn writes: > On Apr 27, 2006, at 16:38, Eli Zaretskii wrote: >> Comparison of your GDB session with mine shows that each time a .el >> file is loaded, it uses up the exact same amount of pure storage in >> your build as in mine. But every .elc file takes more pure storage on >> your machine, sometimes only by 1KB, sometimes by as much as 20KB. > > That is weird. Perhaps output from (garbage-collect) before and > after loading the individual .elc files would show something useful? > The byte and object counts *should* be the same (uh, unless the > pathnames to the elc files are stored somewhere but el file pathnames > are not). Not necessarily. Most filenames are written to accommodate 8+3. so if we have 12345678.el\0, this is twelve bytes. The same with .elc might require sixteen bytes after alignment. But it is more likely that some byte code internals cause trouble. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum