From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Thu, 28 Feb 2013 06:32:52 +0800 Organization: The Church of Emacs Message-ID: <20130228063252.a20aaab0c8381fae5cc7ff76@gmail.com> References: <87hal05omn.fsf@engster.org> <87wqtv3utc.fsf@engster.org> <87liaa4wp9.fsf@engster.org> <8738whliav.fsf@Rainer.invalid> <2A503995233F46EE9C09F0371C0F60B8@us.oracle.com> <87lia9k14l.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362004429 5462 80.91.229.3 (27 Feb 2013 22:33:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 22:33:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 23:34:12 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 1UApZk-0007yA-HP for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 23:34:12 +0100 Original-Received: from localhost ([::1]:58610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApZM-0005vw-DA for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2013 17:33:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApZ2-0005tt-Hc for emacs-devel@gnu.org; Wed, 27 Feb 2013 17:33:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UApYq-0002QY-EK for emacs-devel@gnu.org; Wed, 27 Feb 2013 17:33:23 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:50989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApYp-0002Je-6l for emacs-devel@gnu.org; Wed, 27 Feb 2013 17:33:16 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id wz12so652086pbc.31 for ; Wed, 27 Feb 2013 14:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=pTe1Vodeij7xIXubD3f4rQ8BttCMg5vnY89okGuIqx8=; b=LjSCcFsXX8MaYmf/0wYapzEVLOv6ofQmLM+u1hR1rsCWzSLBdLYR/4dXOwUwnUAVFi EIOZRZcHXqc+uhzjc0rgaA8L4il4IHF40wtEpbGnJDRhQhqq0cPACXkacamP3JsKHM+R DQykuqR9sEbXTSTZKgoTxIJXLypuUBN/q2SigfDrwGAAyxFDpJUV/H8uKh+phCsAKeXW LGVRPlcne9R9vXdjE9dug+7vW8FZYlgMRwpDUAHevbNU2lUGzTnyHfI7ye2StdEm3aM/ a0CqinxDMFEb6O9egDHY/U163ySmJgDUgp1prUiwZQtWqdyZwXHu5JA+excLXa/oW/Bb 9+iQ== X-Received: by 10.67.5.6 with SMTP id ci6mr9886135pad.140.1362004377128; Wed, 27 Feb 2013 14:32:57 -0800 (PST) Original-Received: from Emacs ([61.149.229.140]) by mx.google.com with ESMTPS id is1sm243511pbc.15.2013.02.27.14.32.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 14:32:55 -0800 (PST) In-Reply-To: <87lia9k14l.fsf@Rainer.invalid> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.44 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:157445 Archived-At: On Wed, 27 Feb 2013 20:28:10 +0100 Achim Gratz wrote: > Drew Adams writes: > > 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). I'm no expert on this. But I think concurrency can help. > 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. I agree. Doing these things is annoying. > Regards, > Achim. -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao