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]

regexp profiling hell....


Harvey J. Stein writes:

 > A general testing issue - Doing benchmarking is a pain because of the
 > need to include (debug-disable 'debug) at the top of files means I
 > need different files for other scheme implementations.  How about also
 > -nodebug & -debug command line args & make the (configurable) default
 > -nodebug?

you could put (debug-disable 'debug) in ~/.guile, realizing of course
that this adds additional overhead...

another way is to do:

	guile -c '(begin (debug-disable \'debug) (load "script.scm"))'

(note the escaped apostrophe.)

thi