On Thu, Feb 10, 2011 at 7:49 PM, Andy Fingerhut
<andy.finger...@gmail.com> wrote:
> I've published that program at the link below.  It contains comments marking
> two lines in the function gen-random-fast where the Hotspot JVM profiler
> tells me that the CPU is spending lots of time in java.lang.Integer.valueOf
> (Clojure 1.2.0).  I can't seem to get rid of these calls to Integer.valueOf
> even after trying about half a dozen different variations of type-hinting.
>  Can anyone else see a way to change the program to avoid those calls?
>
> http://github.com/jafingerhut/clojure-benchmarks/blob/master/fasta/fasta.clj-10.clj

I don't get any reflection warnings with (gen-random-fast) on 1.2. Do you?

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

Reply via email to