From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4446: remove ###autoload from ediff-hook.el Date: Tue, 29 Sep 2009 21:34:19 -0700 (PDT) Message-ID: <200909300434.n8U4YJHO009237@godzilla.ics.uci.edu> References: <200909161118.n8GBIPDV012011@godzilla.ics.uci.edu> <82iqfi2gb0.fsf@fencepost.gnu.org> <200909171811.n8HIB7Wi026045@godzilla.ics.uci.edu> <7dljk4hyuu.fsf@fencepost.gnu.org> <200909251816.n8PIGPKs021224@godzilla.ics.uci.edu> <200909290356.n8T3uIsR026995@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 4446@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254286050 4892 80.91.229.12 (30 Sep 2009 04:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 04:47:30 +0000 (UTC) Cc: 4446@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 30 06:47:22 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Msr61-0001eT-MM for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 06:47:21 +0200 Original-Received: from localhost ([127.0.0.1]:39719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msr60-0004yQ-Qe for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 00:47:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Msr5v-0004xo-MV for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 00:47:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Msr5q-0004xc-8V for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 00:47:14 -0400 Original-Received: from [199.232.76.173] (port=55491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msr5q-0004xZ-1W for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 00:47:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40577) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Msr5p-0006ja-Av for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 00:47:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8U4l78R001839; Tue, 29 Sep 2009 21:47:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8U4e6PR000632; Tue, 29 Sep 2009 21:40:06 -0700 Resent-Date: Tue, 29 Sep 2009 21:40:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 30 Sep 2009 04:40:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4446 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4446-submit@emacsbugs.donarmstrong.com id=B4446.125428527432289 (code B ref 4446); Wed, 30 Sep 2009 04:40:06 +0000 Original-Received: (at 4446) by emacsbugs.donarmstrong.com; 30 Sep 2009 04:34:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8U4YWMH032286 for <4446@emacsbugs.donarmstrong.com>; Tue, 29 Sep 2009 21:34:33 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8U4YK0P017759; Tue, 29 Sep 2009 21:34:20 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8U4YJHO009237; Tue, 29 Sep 2009 21:34:19 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 29 Sep 2009 17:19:22 -0400") Original-Lines: 25 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8U4YK0P017759 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 30 Sep 2009 00:47:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31589 Archived-At: Stefan Monnier writes: > >> BTW, now that I think about it: is it really necessary to skip those > >> files? I mean, what is the impact of having such redundant autoloads in > >> loaddefs.el? > > >> From memory as I can't verify at the moment: the download size of the > > emacs source is increased by > 10K, and the binary is 10KB bigger. > > I understand where the 10K of download-size comew from, but do you know > why it also impacts the final binary size? I mean: the objects and > variables created by these redundant autoloads should be overwritten by > the subsequent load of the actual files, so the only impact they should > have is if the GC ends up unable to reuse the corresponding memory cells > (and unable to return them to the system), right? Or are these > chunks of autoload-data placed in the pure-space? Sorry, I don't know. Another thing that I observed (and hope not to forget until I can investigate properly): a lot of free conses and strings appear after the "finding pointers to doc strings" phase in loadup.el. It seems that we might have to try to avoid allocating and setting the doc strings while dumping.