all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: package.el should be preloaded
Date: Mon, 01 Nov 2010 11:01:15 -0400	[thread overview]
Message-ID: <87lj5dozpg.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwvbp69depj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 31 Oct 2010 21:20:18 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> That's really strange.  The code needed at startup shouldn't need to be
> that large.  Of course, that was part of the reason why I want(ed) all
> the job of finding which packages to load in which order to be done
> "offline" rather than at startup.

The total length of package.el is 1642 lines.  Of these, the code
necessary to load and activate packages at startup comes to around 590
lines, or about 16k of memory in the .elc.  (The rest is the code for
downloading and installing, and for the package menu.)

Splitting package.el is certainly doable, but all it will save us is
around 30k.  I'm not sure it's worth it.



      reply	other threads:[~2010-11-01 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28  7:41 package.el should be preloaded Glenn Morris
2010-10-28  7:57 ` Glenn Morris
2010-10-28 14:24   ` Stefan Monnier
2010-10-31  0:09     ` Chong Yidong
2010-11-01  1:20       ` Stefan Monnier
2010-11-01 15:01         ` Chong Yidong [this message]

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

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

  git send-email \
    --in-reply-to=87lj5dozpg.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.