From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Wed, 27 Feb 2013 20:28:10 +0100 Organization: Linux Private Site Message-ID: <87lia9k14l.fsf@Rainer.invalid> References: <87hal05omn.fsf@engster.org> <87wqtv3utc.fsf@engster.org> <87liaa4wp9.fsf@engster.org> <8738whliav.fsf@Rainer.invalid> <2A503995233F46EE9C09F0371C0F60B8@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361993344 12672 80.91.229.3 (27 Feb 2013 19:29:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 19:29:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 20:29:27 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 1UAmgp-0006hO-8w for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 20:29:19 +0100 Original-Received: from localhost ([::1]:58083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAmgR-0002yq-4E for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 14:28:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAmgG-0002xN-Pe for emacs-devel@gnu.org; Wed, 27 Feb 2013 14:28:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAmg4-0002B4-Ni for emacs-devel@gnu.org; Wed, 27 Feb 2013 14:28:39 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:37475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAmg4-00027V-Hd for emacs-devel@gnu.org; Wed, 27 Feb 2013 14:28:32 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAmgF-0006OY-Oz for emacs-devel@gnu.org; Wed, 27 Feb 2013 20:28:43 +0100 Original-Received: from pd9eb3655.dip.t-dialin.net ([217.235.54.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Feb 2013 20:28:43 +0100 Original-Received: from Stromeko by pd9eb3655.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Feb 2013 20:28:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb3655.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) Cancel-Lock: sha1:DMqg/h2gFoZUodplXxPQfw6jTkA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:157444 Archived-At: Drew Adams writes: > See `byte-recompile-directory'. It only compiles files already compiled, and > only those that are younger than their .elc's. > > But perhaps you meant something that does what `byte-recompile-directory' does > (recompiles as needed) but also compiles any .el that has never been compiled? I know byte-recompile-directory in its various incarnations through Emacs history, thanks. This speeds up things, but is single threaded and hence not very useful on multi-core machines (unless you happen to do compiles in parallel directories). > (BTW, I think you meant ignore .elc that are younger, not older, than .el.) No, I meant what I wrote. Emacs picks up stale .elc files in the directory it is told to do compilations in, which almost never is the correct thing to do. With make-like build systems you first have to remove these (or rather all .elc most of the time) to ensure that subsequent compilations will work correctly. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs