Re: Slow clsql compilation
Nikodemus Siivola <[email protected]> Tue, 22 Aug 2006 17:12:45 +0300
| Newsgroups | gmane.lisp.steel-bank.devel,gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Christophe Rhodes <[email protected]> writes: > 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. In the sense that earlier (DEBUG 3) killed the ability of the compiler to reason about the code almost totally. Now it can make a better job of high-debug code, but it can obviously still take uncomfortably long. There are some things that we could still do: for example making (> debug speed) inhibit inline-expansion might help with this. Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs." ------------------------------------------------------------------------- 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