From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Skipping unexec via a big .elc file
Date: Mon, 01 May 2017 11:41:25 +0000
Message-ID:
References: <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org>
<83a8889ede.fsf@gnu.org>
<144D5F87-D876-485D-BAB3-2AA93627272A@raeburn.org>
<83inmq53xk.fsf@gnu.org>
<96D35768-314C-43F5-BD5E-B12187759DCA@raeburn.org>
<123104DD-447F-4CDB-B3A0-CED80E3AC8C9@raeburn.org>
<20170403165736.GA2851@acm>
<2497A2D5-FDB1-47FF-AED3-FD4ABE2FE144@raeburn.org>
<83lgrhpalq.fsf@gnu.org>
<0D99B4FE-FEEF-4565-87D6-E230A05DEF3C@raeburn.org>
<86lgrc4vob.fsf@molnjunk.nocrew.org> <834ly0oew1.fsf@gnu.org>
<968E8F50-92F6-43C7-B7E4-EE8378943087@raeburn.org>
<83wpawmj4d.fsf@gnu.org>
<1e397033-8291-1625-8b78-a1e1c200aea5@gmail.com>
<83efx2na8y.fsf@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=94eb2c0d21c2e5e9be054e74e730
X-Trace: blaine.gmane.org 1493638954 26356 195.159.176.226 (1 May 2017 11:42:34 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 1 May 2017 11:42:34 +0000 (UTC)
To: Stefan Monnier , emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 13:42:30 2017
Return-path:
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1d59in-0006kL-11
for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 13:42:29 +0200
Original-Received: from localhost ([::1]:53809 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1d59is-0003Dw-Uc
for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 07:42:34 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41559)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1d59hz-00032k-Ad
for emacs-devel@gnu.org; Mon, 01 May 2017 07:41:40 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1d59hy-0002Ew-HC
for emacs-devel@gnu.org; Mon, 01 May 2017 07:41:39 -0400
Original-Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:32914)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1d59hy-0002DY-BA
for emacs-devel@gnu.org; Mon, 01 May 2017 07:41:38 -0400
Original-Received: by mail-wr0-x22e.google.com with SMTP id w50so62579322wrc.0
for ; Mon, 01 May 2017 04:41:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=yeoYGFpTfUDHxv9bBHSxHsu/EpHPd04DRwB/8Qsz2H4=;
b=i99oStxp13QqBW/7jH/jjKnseUV5+W0hm9eN3H7+pXBg08kRmmnAxeoWyiaNykqY7D
koGLf4CrnW3ORU6QEKFX12mQfQgZA0gy6ISvD6T2VuZ1WeZ9PGiL87FDx5oNLp7BFXIm
tW4FeG/TYO0mOrQ2/bC389DpogRGVi3mY758EncWabRVTNRSd0SvXHiLhu6wiL+3U24A
Sb0Ruq1s9BaSTRB+Np+6hG21DGCThs90UjhihabNhuIGDPLAEcvnPZjoUepy0RxZwXg4
VvRL0xIusPMKn8qnKQSQDznFU2ZU4cLSMXCHWOy5WWDnjZ0I5LP3aEx34MVejf7fLlGW
Ry+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=yeoYGFpTfUDHxv9bBHSxHsu/EpHPd04DRwB/8Qsz2H4=;
b=SkkOm6jCRfcfKGPDl6eWTx+f1fOKo5fbwzIQ4SnO4hYnq77hj4CfzG34cdrJbGepVR
MzLxlm7hzOuVFG1QN9nUe7eW4S7YbgMzwzN9zHorio3jKtOqruuuHS+6d4703x01LDlZ
cOg8sPI9o63pgSse1rgLNoM7Q482dibGkgiCjTSjXqe4ojE7sdBxptleTlmDXrqczH/x
tZdNhB+DkCaMSBSHKI0n3ckhlL565gO1tNlXNiQl3UjHaMjO6Z4Vw9Gn70393fjOaVFP
cWo1hD9WqOWOZglmiy+0MePQSqH9BUx586a+Er4QRYpIyB/w2Y3tw08huq3hc3k/3pGL
rCfQ==
X-Gm-Message-State: AN3rC/6UbHunGbKRqYRp38lBdoKRO/qZj+3sQMtYUpKst8eKPJO/e+HD
Bd6NltdsWed4ZUaWs6jHvNF2YjXACQ==
X-Received: by 10.223.148.35 with SMTP id 32mr9373656wrq.175.1493638897328;
Mon, 01 May 2017 04:41:37 -0700 (PDT)
In-Reply-To:
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2a00:1450:400c:c0c::22e
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.org gmane.emacs.devel:214480
Archived-At:
--94eb2c0d21c2e5e9be054e74e730
Content-Type: text/plain; charset=UTF-8
Stefan Monnier schrieb am Sa., 8. Apr. 2017 um
20:06 Uhr:
> >> I'd actually prefer going into the other direction: preload much more
> than
> >> now, and remove lots of stuff from
> >> autoloads. This will probably need a different strategy for preloading
> >> (Daniel's approach, or Rmacs, or an Elisp
> >> LLVM compiler, ...).
> > Given that load time is an issue, loading more stuff than strictly
> > necessary seems to make very little sense to me.
>
> IIUC, using Daniel's approach, it should be possible to preload using
> mmap in a time that's largely independent from the size of the
> preloaded file (or at least, with a small constant).
>
>
Yes, that would be ideal.
--94eb2c0d21c2e5e9be054e74e730
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
>> I'd actually prefer going into the=
other direction: preload much more than
>> now, and remove lots of stuff from
>> autoloads. This will probably need a different strategy for preloa=
ding
>> (Daniel's approach, or Rmacs, or an Elisp
>> LLVM compiler, ...).
> Given that load time is an issue, loading more stuff than strictly
> necessary seems to make very little sense to me.
IIUC, using Daniel's approach, it should be possible to preload using
mmap in a time that's largely independent from the size of the
preloaded file (or at least, with a small constant).
Yes, that would be ideal.=C2=A0
--94eb2c0d21c2e5e9be054e74e730--