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" wrote:
> On Jan 31, 2010, at 8:35 AM, Gabi wrote:
>
> > Is th
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
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 ?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to