On Jan 31, 2010, at 8:35 AM, Gabi wrote:
Is there any efficient way to get the number of times a given
function was executed (in run time not during profiling)? Maybe with
some clever use of its metadata ?
Clojure function calls are low-level operations for efficiency. I'm not aware
of any
update-in for every function call might slow things down considerably.
Maybe using an atom referencing to native Java array for counts is
better (in which swap! would just use aset to new count)
On Jan 31, 5:45 pm, Stephen C. Gilardi squee...@mac.com wrote:
On Jan 31, 2010, at 8:35 AM, Gabi