new MBP 2.53ghz
(defn create-fn []
(fn [] (println "hi")))
(time (dotimes [x 40000000]
(create-fn)))
> "Elapsed time: 1034.409 msecs"
Hopefully you don't need 40,000,000 functions in less than a second ;)
On Wed, Feb 18, 2009 at 1:16 AM, CuppoJava <[email protected]>wrote:
> (defn create_fn []
> (fn [] (println "hi")))
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---