How to profile a clojure program?

2015-02-08 Thread Giovanni Gherdovich
Hello, I am trying to use a java profiler (jvisualvm) to see why my clojure program is so slow. But I now realize that the profiler has no notion of my clojure program; I have clojure functions foo and bar, and would like to know how much they contribute to the overall execution time. jvisualvm

is this a bug in clojure.core/into ?

2015-01-29 Thread Giovanni Gherdovich
Hello, I have clojure 1.6.0 I get these errors: -- -- 8 -- -- 8 -- -- 8 -- -- 8 -- -- 8 -- -- 8 user= ;; expecting {:a 1, :b 2} user= (into {} '((:a 1) (:b 2))) java.lang.ClassCastException: clojure.lang.Keyword cannot be cast to java.util.Map$Entry (NO_SOURCE_FILE:0) user= ;; expecting {'([a

Re: is this a bug in clojure.core/into ?

2015-01-29 Thread Giovanni Gherdovich
ah, just seen that Justin Smith reported the bug on JIRA http://dev.clojure.org/jira/browse/CLJ-1651 On Thu, Jan 29, 2015 at 7:08 PM, Giovanni Gherdovich g.gherdov...@gmail.com wrote: Hello, I have clojure 1.6.0 I get these errors: -- -- 8 -- -- 8 -- -- 8 -- -- 8 -- -- 8 -- -- 8 user

Re: citing Clojure and EDN?

2014-05-15 Thread Giovanni Gherdovich
Hello, On Wed, Apr 23, 2014 at 4:42 AM, vrak...@gmail.com wrote: For the purposes of academic publications (in areas well outside of SIGPLAN and such), are there any preferred citations for Clojure and EDN? loosely related to this old thread, today I have read that github has worked out a