From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: Why it is necessary to compile el files? Date: Sat, 29 Sep 2007 01:42:25 -0400 Message-ID: <46FDE5C1.8060703@speakeasy.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191044582 4213 80.91.229.12 (29 Sep 2007 05:43:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2007 05:43:02 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 07:42:59 2007 Return-path: Envelope-to: geh-help-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 1IbV6Q-0004dJ-Gz for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 07:42:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbV6N-0005bA-2T for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 01:42:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbV68-0005b5-P3 for help-gnu-emacs@gnu.org; Sat, 29 Sep 2007 01:42:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbV66-0005as-IQ for help-gnu-emacs@gnu.org; Sat, 29 Sep 2007 01:42:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbV66-0005ap-CE for help-gnu-emacs@gnu.org; Sat, 29 Sep 2007 01:42:38 -0400 Original-Received: from mail7.sea5.speakeasy.net ([69.17.117.9]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IbV65-0004eE-Se for help-gnu-emacs@gnu.org; Sat, 29 Sep 2007 01:42:38 -0400 Original-Received: (qmail 30410 invoked from network); 29 Sep 2007 05:42:35 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.26]) (gebser@[66.93.11.17]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 29 Sep 2007 05:42:35 -0000 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: X-Enigmail-Version: 0.95.3 OpenPGP: id=45796D04 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47970 Archived-At: On 09/28/2007 10:48 PM Ke Lu wrote: > Why it is necessary to compile el files? > > I can't fell it become faster after compile el files. > I often install emacs package without make and just > add load script which like following > (add-to-list 'load-path "path-of-package") > (require 'xxx) > > I think it makes things easy. > > I want to know Why it is necessary to compile el files? > If it makes the speed up,How can I feel it? It really isn't *necessary*. The byte compiled elisp files will simply run faster, but perhaps not enough that human senses will detect a speed increase. If you're running a *nix system, you could do $ time emacs -batch -f test.el (or something like that) and then the same on test.elc and it will show the execution speed of each test file. -- The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts. - Bertrand Russell, philosopher, mathematician, author, Nobel laureate (1872-1970)