On Thu, Aug 21, 2014 at 9:54 AM, Robert P. Goldman <rpgold...@sift.net>
wrote:
> If I understand correctly, the proposal is to require configuration only
for
> the special case of wanting faster start up, and absent that,
configuration
> will be as before, since optimization for scripting is the exceptional
case.
>
> That seems like a benign modification. I'd accept such a patch (with
bumping
> of version for easy detection). We should document it appropriately, of
> course.
>
Yes, it should all remain backward-compatible, at least unless and until
some maintainer leads a two year campaign for migration to a different
setting.

My plan is as follows:
1- have a special variable tell whether to recurse under a .asd by default,
defaulting to t for now
2- adding some keyword argument to :tree to override this variable
3- adding support for source-registry.conf and/or .source-registry.conf as
things to detect and heed when recursing into a directory.

I modified my previously posted code as a solution for 1, attached.
2 and 3, I'll add to the TODO for now.

(And yes, changing startup from 1.45s to .66s with cl-launch (resp. .83s to
.33s without) is well worth it. It makes some scripts usable that are
otherwise annoyingly slow; the difference is even more dramatic for me on
CCL, where it drops from 2.57s to 0.37s with cl-launch (resp. 2.0s to 0.27s
without).)

PS: while testing my changes, I found a trivial bug in test-program, that
failed to rename load-fasl-op to load-bundle-op. Fixed.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics•
http://fare.tunes.org
        A flea and a fly in a flue
were imprisoned, so what could they do?
        Said the fly: "let us flee!".
        Said the flea: "let us fly!".
So they flew thru a flaw in the flue...
From 42bdefd38b685bb56f13d483ea763a9b70c345c2 Mon Sep 17 00:00:00 2001
From: Francois-Rene Rideau <tu...@google.com>
Date: Thu, 21 Aug 2014 13:15:27 -0400
Subject: [PATCH] Update a test for the renaming of load-fasl-op to
 load-bundle-op.

---
 test/make-hello-world.lisp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/make-hello-world.lisp b/test/make-hello-world.lisp
index 11bef3a..bcaa6e0 100644
--- a/test/make-hello-world.lisp
+++ b/test/make-hello-world.lisp
@@ -28,7 +28,7 @@
 
 
 (defun make-hello-bundle (operation)
-  (operate 'load-fasl-op :hello-world-example)
+  (operate 'load-bundle-op :hello-world-example)
   (operate operation :hello-world-example)
   #+mkcl (add-mkcl-dll (asdf::output-file operation :hello-world-example)))
 
-- 
2.1.0.rc2.206.gedb03e5

_______________________________________________
Asdf-devel mailing list
Asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel

Reply via email to