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]

Re: (debug-enable 'debug) makes evaluator slow?


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.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il