Re: Slow clsql compilation

Christophe Rhodes <[email protected]> Tue, 22 Aug 2006 15:06:12 +0100
Newsgroups gmane.lisp.steel-bank.devel,gmane.lisp.clsql.devel
Message-ID <[email protected]>
"Marko Koci=E6" <[email protected]> writes:

> I remember that sbcl compilation was fast with previous versions of
> sbcl and clsql, but cannot check them right now.

If you could check, that would be helpful.

> Does it happen on linux too?

Yes.

> ; compiling (DEFUN FIND-ALL ...)

The time seems to be spent in this function, which has an optimize
declaration of (debug 3) (speed 1); (debug 3) in SBCL means munging
the code substantially, making it very large -- and the function is
large to begin with -- and there are algorithms in the compiler which
are asymptotically slower than O(n).

For what it's worth, the compiler seems to spend its time in
SB-C::PROPAGATE-LIVE-TNS called from SB-C::LIFETIME-FLOW-ANALYSIS.  I
don't know if this has changed recently, but I don't think it has.

Christophe

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642