From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Mon, 12 Dec 2016 12:25:06 -0500 Message-ID: <29869C21-C372-48F2-8210-B72D46819854@raeburn.org> References: <871szqwu51.fsf@users.sourceforge.net> <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <8360ojpndr.fsf@gnu.org> <83shrnm0k1.fsf@gnu.org> <075B0922-F07A-4FBA-AE71-027E964A5ED4@raeburn.org> <54AAC13A-CF56-4393-A932-DC6CBBF51259@raeburn.org> <3CC6BB36-1794-4202-8243-132E0345B236@raeburn.org> <52BDCC33-546C-4F47-A230-00EBC813B038@raeburn.org> <15CF14CC-C7DE-44BA-AC7D-F0BF1F160979@raeburn.org> <9463F91F-DB82-48E1-BE01-1E2BC8DA0766@raeburn.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481563624 12338 195.159.176.226 (12 Dec 2016 17:27:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 17:27:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 18:27:00 2016 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 1cGUNO-0002To-GJ for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 18:26:58 +0100 Original-Received: from localhost ([::1]:59565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGUNS-0002v5-Ls for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 12:27:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGUMf-0002cq-GI for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:26:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGUMc-0007ay-AL for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:26:13 -0500 Original-Received: from mail-qk0-f195.google.com ([209.85.220.195]:33773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGUMc-0007aj-5E for emacs-devel@gnu.org; Mon, 12 Dec 2016 12:26:10 -0500 Original-Received: by mail-qk0-f195.google.com with SMTP id x190so11489015qkb.0 for ; Mon, 12 Dec 2016 09:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xJTb8MpWeS+JBeO/FeTfg1yA6fXYuI0B3S3F1tOmovI=; b=1FrgPTRZUzM80pdhfqbtnytqYM+epUQpsT3mGhWOpDRNqD2rMymHrh2oNrp5MMN7+L Lz9p5cOdWWiEumRzvQXo5DI3pXIHlOP0IwSTc2ikLhHUf+sw/53nqhULQffhfXOIJux4 63vm2B1IOfcd43fEdpdBOGyVhH2IH2Y0zTJZ9iZT6rFR5ppXwQDbDyJWkMI9gIwIy4Gu nBgclfjS5+qAgY5aBQzwbshnfFAImCnjS1aiI9fZBzl+sZEjZuCfQ6vfZwR8XXFDbT2z ohBM5RVHLpTYYu4Ez++f7X63dwCKESpHpluxVaIBnMKplX62m8eFPjNbF7T0Xb3L0SPM wzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xJTb8MpWeS+JBeO/FeTfg1yA6fXYuI0B3S3F1tOmovI=; b=Wg5y+pQtK2LPTlQYiMv0BdJUH0R1j4iOdqSFUwvdgRjTRgYqACZmXHx9oeNs5ZP5Hp 7/OBCBOW6Q+kODZVt1y9rAAEBWXxFZawAEJEf20ZYzyVImn014JCB/yyYrVG3hdCdbTU paIR+VbEI58D4vZL5WVyoVACVfgtdPlDbJ/k/XI3PbcegNWzZr2Oimf9H4FhTYa4mQNg XHzbSLZtuBlkpulxTWJjKO23tvjaVvycMl4obxQZ48BiAW0B4QtumwWFPJrObJfVDkpm 2xCYZJxAUE+3iXfDEroVAr3HiAO3w7vRXME+uxrgO4ZckXPt1/siAxTB1hkiurs9lGk0 32xw== X-Gm-Message-State: AKaTC01vLI5XsC2pljJubMJvVyBCNkpkbp3YpLOl/UEa+fNmlRwf0Q0406FxcmPG0Z4qnw== X-Received: by 10.55.88.197 with SMTP id m188mr76958405qkb.322.1481563509363; Mon, 12 Dec 2016 09:25:09 -0800 (PST) Original-Received: from [192.168.23.52] (c-50-138-183-136.hsd1.ma.comcast.net. [50.138.183.136]) by smtp.gmail.com with ESMTPSA id q199sm26966826qke.31.2016.12.12.09.25.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Dec 2016 09:25:07 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.195 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:210354 Archived-At: > On Dec 11, 2016, at 14:18, Richard Stallman wrote: >=20 > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] >=20 >> * Larger obarray. After startup, my Linux/GNU/X11 build has over >> * 15k symbols, and my Mac build has over 21k. The old obarray >> * size of 1511 meant average chain lengths of over 10 and 14. >> * Shorter chains mean less time spent in oblookup. And extra >> * slots are cheap. >=20 > This may be a good idea, but it has nothing to do with any particular > method of startup or dumping. So how about doing it unconditionally? A few of the changes on this branch would probably improve speed at = least a tiny bit regardless of the startup method. This one also has = the advantage of being a trivial change with, as far as I can see, no = down side, so, yeah=E2=80=A6. Ken=