From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: usefulness of no-byte-compile [was: Re: Upcoming 23.1 release] Date: Mon, 20 Jul 2009 20:16:55 -0700 (PDT) Message-ID: <200907210316.n6L3Gt75014295@godzilla.ics.uci.edu> References: <87ws63cij1.fsf@stupidchicken.com> <200907201855.n6KItkBT007939@godzilla.ics.uci.edu> <87bpnf8994.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248146345 27308 80.91.229.12 (21 Jul 2009 03:19:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2009 03:19:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 21 05:18:58 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MT5sV-0006wa-Ik for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2009 05:18:55 +0200 Original-Received: from localhost ([127.0.0.1]:39689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MT5sU-0007i9-FO for ged-emacs-devel@m.gmane.org; Mon, 20 Jul 2009 23:18:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MT5sO-0007hu-Nx for emacs-devel@gnu.org; Mon, 20 Jul 2009 23:18:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MT5sJ-0007hi-7g for emacs-devel@gnu.org; Mon, 20 Jul 2009 23:18:47 -0400 Original-Received: from [199.232.76.173] (port=51754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MT5sJ-0007hf-2e for emacs-devel@gnu.org; Mon, 20 Jul 2009 23:18:43 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:47094) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MT5sH-0000zl-VC for emacs-devel@gnu.org; Mon, 20 Jul 2009 23:18:42 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n6L3Gtd9010791; Mon, 20 Jul 2009 20:16:55 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n6L3Gt75014295; Mon, 20 Jul 2009 20:16:55 -0700 (PDT) Original-Lines: 20 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n6L3Gtd9010791 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112885 Archived-At: Chong Yidong writes: > I didn't remove the no-byte-compile line, though, because I don't > understand the original rationale for it. Maybe it's because > byte-compiling doesn't provide any advantage for such a small file? On a modern machine byte-compiling does not really provide too much visible speedup for quite a lot of elisp code. The decision not to byte compile some things was taken at a time when it took a while to byte compile, and storing extra files was not very desirable. Nowadays none of those matter at all. But byte-compiling has the advantage that warnings help catch potential problems that are only caught by users at run time. (And warnings have caught quite a few issues since we have cleaned up the sources). So IMNSHO we should reconsider the decision not to byte compile some things, and just compile everything that is not specifically excepted (like in loadup.el).