[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Measuring elapsed CPU time
In article <EMCOOP.93Jan21091840@bcars148.bnr.ca> email@example.com (hume
this sort of thing needs a macro.
or a thunk.
in your construct, the form has
been evaled by the time the function starts, and all your timer
ends up timing is how long it takes the evaluator to find the value
of the symbol "form".
you can also wrap up the expression inside a lambda expression and
apply that inside the timer function if you prefer the scheme style.