From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Mon, 25 Feb 2013 17:45:04 +0100 Message-ID: <87hal05omn.fsf@engster.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361836602 19128 80.91.229.3 (25 Feb 2013 23:56:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 23:56:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 00:57:05 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UA7ur-00044W-JG for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2013 00:57:05 +0100 Original-Received: from localhost ([::1]:48647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA7uW-0006oz-Us for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2013 18:56:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA7uU-0006op-A7 for emacs-devel@gnu.org; Mon, 25 Feb 2013 18:56:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA7uT-0001Cx-3L for emacs-devel@gnu.org; Mon, 25 Feb 2013 18:56:42 -0500 Original-Received: from randomsample.de ([83.169.19.17]:57284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA1Aw-0002Xo-3x for emacs-devel@gnu.org; Mon, 25 Feb 2013 11:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=v/QeK7uNuVOG2+6ItBElPTIHtnJHVJGGeK+9jfnRxqU=; b=Yl+ZpP8LF05M180a+4QR8GNx+jIhlmKIfZil2HpC4JcttMoMvsflWmNeS/NlGWVV+PH94yFoddUPbbrSXtZ/2HEhVcZNHr+PEKHv31FrnmMmSePSJbp0XUOMF5UsVXBT; Original-Received: from dslc-082-082-165-164.pools.arcor-ip.net ([82.82.165.164] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UA1An-0006nP-86; Mon, 25 Feb 2013 17:45:05 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 24 Feb 2013 20:40:37 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (gnu/linux) Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157359 Archived-At: Stefan Monnier writes: > It used to be the case that compiling one's .emacs was silly because it > provided no measurable speed difference. But nowadays this is not true > any more: loading a source Elisp file is significantly slower because it > goes through load-with-code-conversion. A very rough estimate through 'benchmark-run' indicates that `find-file-literally' is indeed about 10x faster than `find-file'. Still, the latter on my .emacs takes only about 0.02s on my very slow laptop, so I don't really see the point. The difference might be measurable, but surely not noticeable. -David