This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
hjstein@bfr.co.il (Harvey J. Stein) writes: > Mikael Djurfeldt <mdj@nada.kth.se> writes: > > > hjstein@bfr.co.il (Harvey J. Stein) writes: > > > > > I've just discovered that my guile program is 34% faster whith > > > (debug-enable 'debug). I remember from years ago the statement that > > > enabling debugging only made loading slow. Is this wrong, or is this > > > no longer the case? > > > > The debug evaluator is approximately 3 times *slower* than the normal > > evaluator. I just verified that this is still the case. There is no > > way that the debug evaluator could be faster, since it is generated > > from the same source as the normal one, with a few additions. > > I meant slower. To be more precise: I observed guile executing code more slowly when debugging was enabled. I vaguely recall stmts years ago on the guile mailing list that enabling debugging made loading slow but did *not* make execution any slower. My question is whether or not this was supposed to be the case & it changed, or was it never the case. -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il