Re: Slow clsql compilation

"Marko Kocić" <[email protected]> Tue, 22 Aug 2006 16:22:56 +0200
Newsgroups gmane.lisp.steel-bank.devel,gmane.lisp.clsql.devel
Message-ID <[email protected]>
> > 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.
>

I checked with sbcl-0.9.15.41 (the oldest sbcl I have) and it is still
slow. I can't check with older releases of clsql cause I deleted from
disk, and you can download only the latest from the official site.

> > 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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642