unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ken Raeburn <raeburn@raeburn.org>
Cc: emacs-devel@gnu.org
Subject: Re: PURESIZE increased (again)
Date: Fri, 28 Apr 2006 03:07:35 -0400	[thread overview]
Message-ID: <3BB432FA-E4F2-4477-8CA3-644673AC03BA@raeburn.org> (raw)
In-Reply-To: <uu08efesw.fsf@gnu.org>

On Apr 28, 2006, at 01:29, Eli Zaretskii wrote:
>> From: Ken Raeburn <raeburn@raeburn.org>
>> Date: Thu, 27 Apr 2006 18:24:55 -0400
>>
>> 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).

(Actually, I should've said the increases in the byte and object  
counts, when each .elc file is loaded.)

> Even if this is true (which I don't think it is), how can a stored
> name explain 20KB of difference?

It wouldn't, but if it does happen (and I don't think it does,  
either, but I don't recall for sure) it would be a reason for the  
numbers not to be *exactly* the same, so then a very small  
discrepancy wouldn't be a big problem.  But like you say, I don't  
think it happens.

>> It might also be useful to check that the .elc files you two are
>> getting (you've both done "make bootstrap", right?) are actually
>> similar.
>
> That's the point: how _could_ they be different?

Barring the obvious, like local hacks affecting the byte-code  
optimizer, or some local bug causing character encoding conversions  
to be applied to byte-code strings, I have no idea.  But since I have  
no other good idea how the 20K difference came up loading a .elc  
file, I figure breaking the problem down might help.  For example:  
First, confirm that some file foo.elc to be loaded is (functionally)  
the same, and that it consume different amounts of storage, on the  
two systems.  Then split it apart (binary search, one S-expression at  
a time, whatever) and see if there's some particular kind of  
expression in the .elc file that consumes different amounts of  
storage on the two systems.  If we know what it is, perhaps we can  
figure out why it's handled differently.  But if the files are  
different, then the problem isn't differing storage consumed by  
(identical) loaded objects, and we go off in a very different  
direction....

If people want to expend that much effort on it, of course.

Ken

  parent reply	other threads:[~2006-04-28  7:07 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-16  7:07 PURESIZE increased (again) Eli Zaretskii
2006-04-16  7:18 ` Eli Zaretskii
2006-04-16 10:56 ` Romain Francoise
2006-04-16 12:13   ` Andreas Schwab
2006-04-16 16:59     ` Eli Zaretskii
2006-04-20 16:51       ` Reiner Steib
2006-04-20 18:50         ` Eli Zaretskii
2006-04-20 21:03           ` Reiner Steib
2006-04-20 21:37             ` Stefan Monnier
2006-04-21  7:49               ` Eli Zaretskii
2006-04-21  7:48             ` Eli Zaretskii
2006-04-21  9:15               ` Eli Zaretskii
2006-04-26 13:50               ` Reiner Steib
2006-04-27 20:38                 ` Eli Zaretskii
2006-04-27 20:52                   ` David Kastrup
2006-04-28  5:26                     ` Eli Zaretskii
2006-04-27 21:19                   ` Luc Teirlinck
2006-04-28  5:22                     ` Eli Zaretskii
2006-04-28 16:09                       ` Stefan Monnier
2006-04-28 16:27                         ` Eli Zaretskii
2006-04-27 21:56                   ` Reiner Steib
2006-04-28  5:35                     ` Eli Zaretskii
2006-04-28 13:11                       ` Reiner Steib
2006-04-28 15:24                         ` Andreas Schwab
2006-04-28 16:19                         ` Eli Zaretskii
2006-04-28 17:15                           ` Reiner Steib
2006-04-29 15:13                             ` Eli Zaretskii
2006-04-29 15:27                               ` Stefan Monnier
2006-04-29 16:49                                 ` Eli Zaretskii
2006-04-29 15:33                               ` Andreas Schwab
2006-05-30 19:40                               ` Reiner Steib
2006-05-30 19:47                                 ` Eli Zaretskii
2006-06-03 11:53                                 ` Eli Zaretskii
2006-06-09 15:33                                   ` Reiner Steib
2006-06-09 16:49                                     ` Eli Zaretskii
2006-06-09 16:57                                       ` Andreas Schwab
2006-06-09 19:55                                         ` Eli Zaretskii
2006-06-09 22:33                                           ` Andreas Schwab
2006-06-10  7:39                                             ` Eli Zaretskii
2006-06-10  9:36                                               ` Andreas Schwab
2006-06-10 12:04                                                 ` Reiner Steib
2006-04-27 22:12                   ` Luc Teirlinck
2006-04-27 22:29                     ` Ken Raeburn
2006-04-27 22:53                       ` Luc Teirlinck
2006-04-27 23:16                         ` Ken Raeburn
2006-04-28 14:18                           ` Andreas Schwab
2006-04-28 16:15                             ` Eli Zaretskii
2006-04-28 17:25                               ` Reiner Steib
2006-04-27 23:16                       ` Luc Teirlinck
2006-04-27 22:24                   ` Ken Raeburn
2006-04-27 22:38                     ` David Kastrup
2006-04-27 23:04                       ` Ken Raeburn
2006-04-28  5:36                       ` Eli Zaretskii
2006-04-28  5:29                     ` Eli Zaretskii
2006-04-28  6:42                       ` David Kastrup
2006-04-28  7:07                       ` Ken Raeburn [this message]
2006-04-28 13:03                         ` Eli Zaretskii
2006-04-21 23:10             ` Luc Teirlinck
2006-04-22 10:13               ` Eli Zaretskii
2006-04-22 11:35                 ` Miles Bader
2006-04-22 13:15                   ` Eli Zaretskii
2006-04-23  1:59                     ` Luc Teirlinck
2006-04-23  3:35                       ` Eli Zaretskii
2006-04-23  3:46                         ` Nick Roberts
2006-04-23 13:51                           ` Drew Adams
2006-04-23 16:02                           ` Alan Shutko
2006-04-23 18:41                           ` Eli Zaretskii
2006-04-23 21:58                           ` Richard Stallman
2006-04-23 23:06                             ` Nick Roberts
2006-04-23 15:54                         ` Bill Wohler
2006-04-23 17:29                           ` Luc Teirlinck
2006-04-23 17:52                             ` Bill Wohler
2006-04-23 17:58                               ` David Kastrup
2006-04-23 19:43                               ` Robert J. Chassell
2006-04-23 22:20                               ` Richard Stallman
2006-04-23 18:53                             ` Eli Zaretskii
2006-04-23 18:43                           ` Eli Zaretskii
2006-04-23 16:23                         ` Dan Nicolaescu
2006-04-23 18:40                           ` Eli Zaretskii
2006-04-23 18:48                             ` Dan Nicolaescu
2006-04-23 18:56                               ` Eli Zaretskii
2006-04-24 11:51                           ` Richard Stallman
2006-04-23  2:06                     ` Luc Teirlinck
2006-04-22 22:33                   ` Richard Stallman
2006-04-23  1:05                     ` Luc Teirlinck
2006-04-23  3:32                       ` Eli Zaretskii
2006-04-23 21:58                       ` Richard Stallman
2006-04-16 17:27     ` Romain Francoise
2006-04-16 17:07   ` Eli Zaretskii
2006-04-18 17:17   ` Bill Wohler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BB432FA-E4F2-4477-8CA3-644673AC03BA@raeburn.org \
    --to=raeburn@raeburn.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).