Re: slowness in guile 1.8

2007-05-26 Thread Andy Wingo
Hi, On Sat, 2007-05-26 at 16:45 +0200, Ludovic Courtès wrote: > I committed the patch below to HEAD. Great! > For 1.8, I'm pretty much inclined to commit a similar patch, i.e., where > `module-make-local-var!' and `scm_m_define' are copied from HEAD. This > would break code that does things lik

Re: slowness in guile 1.8

2007-05-26 Thread Ludovic Courtès
Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: > Actually, no: the test does a `define' _within_ the body of `begin', so > I *think* this qualifies as an internal define, and internal defines are > equivalent to `letrec' (Section 5.2.2). I was wrong: `define' within `begin' does not qualify as

Re: slowness in guile 1.8

2007-05-26 Thread Ludovic Courtès
Hi Andy! Andy Wingo <[EMAIL PROTECTED]> writes: > On Fri, 2007-05-25 at 20:12 +0200, Ludovic Courtès wrote: >> Alas, it breaks the following test in `syntax.test': > > I'm not sure what "it" is in this case; I assume you mean the fix to > module-make-local-var!. "It" means "the reordering of `ev

Re: slowness in guile 1.8

2007-05-26 Thread Andy Wingo
Replying to myself, On Sat, 2007-05-26 at 12:49 +0200, Andy Wingo wrote: > On Fri, 2007-05-25 at 20:12 +0200, Ludovic Courtès wrote: > > (pass-if "binding is created before expression is evaluated" > > (= (eval '(begin > > (define foo > > (begin > >

Re: slowness in guile 1.8

2007-05-26 Thread Andy Wingo
Hey Ludovic, Thanks for looking at this! On Fri, 2007-05-25 at 20:12 +0200, Ludovic Courtès wrote: > Alas, it breaks the following test in `syntax.test': I'm not sure what "it" is in this case; I assume you mean the fix to module-make-local-var!. > (pass-if "binding is created before expressi