Note that I'm not very confident that using long-array instead of int-array 
is a true improvement vs. just noise.

On Tuesday, February 19, 2013 11:46:21 AM UTC-5, Geo wrote:
>
> Using long-array instead of int-array seems to produce a very slight but 
> noticeable improvement. (~2.1 sec -> ~1.8 sec) = 1.16x improvement
>
> One other thing is that loop seems to return boxed primitives, so by 
> wrapping the inner loop with (long ) I got another slight performance gain. 
> (~2.5 sec -> ~2.0 sec) = ~1.25x improvement
>
> On Tuesday, February 19, 2013 4:16:24 AM UTC-5, puzzler wrote:
>>
>> Another idea: try using arrays of longs, rather than ints, since that is 
>> what Clojure prefers.
>>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to