From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: To Byte Compile or not Byte Compile...that is the question Date: 26 Sep 2002 09:51:04 +0200 Organization: UTA/netway (Customer) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1033027773 13749 127.0.0.1 (26 Sep 2002 08:09:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 08:09:33 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uTiF-0003ZV-00 for ; Thu, 26 Sep 2002 10:09:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uTiA-0000aq-00; Thu, 26 Sep 2002 04:09:26 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!news.netway.at!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 195.96.24.28 Original-X-Trace: newsreader1.netway.at 1033026665 2007 195.96.24.28 (26 Sep 2002 07:51:05 GMT) Original-X-Complaints-To: abuse@netway.at Original-NNTP-Posting-Date: 26 Sep 2002 07:51:05 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Forwarded: by - (DeleGate/7.5.3) Original-Xref: nntp.stanford.edu gnu.emacs.help:105328 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1880 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1880 On Wed, 25 Sep 2002, Barry Margolin wrote: > In article , > Javier Oviedo wrote: > >I have a relatively small site-lisp directory, holding about 20 files. > > > >Does Byte compiling those files improve performance in any noticeable way? > > The number of files is irrelevant, what matters is how often the functions > they define are used, and how big those functions are. > > Byte compiling generally can't hurt, it can only help, so there's little > reason *not* to compile them. The only excuse I can think of would be that > you might forget to recompile after making a change, so users would > continue to load the old version. This can be avoided by adding a mechanism which automatically byte-compiles an elisp-file after saving. Ciao Klaus > -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220