What changed 1.2/1.3 to cause this program slowdown?

2011-10-18 Thread Isaac Gouy
thread-ring Clojure 1.2 N=50 1.8 secs N=500 7.1 secs N=5000 58.3 secs thread-ring Clojure 1.3 N=50 2.8 secs N=500 25.3 secs N=5000 1800 secs http://shootout.alioth.debian.org/u64q/program.php?test=threadringlang=clojureid=1 chameneos-redux Clojure 1.2 N=50 2.7 secs

Re: What changed 1.2/1.3 to cause this program slowdown?

2011-10-18 Thread Alan Malloy
I'm not an expert on the topic, but the threadring example has some suspicious ^Integer hints on values that were integers in 1.2 and are longs in 1.3 (ie, they were created from numeric literals). The hints don't seem to be actually being used, so I don't think this has an impact, but perhaps