consider enhance :class :precompiled-system :fasl ()
:class :precompiled-system :fasl ("foo"); This code only load "foo" at last. But we may need load foo as a dependence for our system.
Usually we load a system because our system need it. So "foo" should loaded in a high priority against to the other system components.
I got this problem when i want to use common lisp develop a protocol test tool for our game project. I use cl-protobufs to generate the CL version protobuf file. But load this file is very slowly (generated protobuf code is large). Most time is wasted on compile.
So i consider to precompile the file to "fasl". I find its not easy to let asdf treat a fasl file as a dependence. Eventually i find :precompiled-system :fasl can load fasl file. But it
s not what i want.