I see usages of the time macro that wrap the expression of interest in a
call to dotimes. Is there any interest in an overload of time that takes an
additional parameter for a number of iterations, evaluates the expression
that many times, and prints the average time in the report?

Usage:
user> (time 10 (* 21 2))
"Elapsed time: 0.201 msecs, Average: 0.0201 msecs"
42
user>

Shawn

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to