It's not easy to help with anything other than stand-alone, runnable examples, 
and this doesn't fit that. So, please see the performance tips page. In 
particular, pay attention to any unexpected memory allocation, which might 
likely be a sign of type instability. That could be present in your input 
arrays (e.g., if they are an Array{Real} or something) as well as your code.

--Tim

On Friday, January 23, 2015 09:50:57 AM [email protected] wrote:
> Hum, I think the compiler is just removing the inner loop when I don't use
> tmp_3 since it's never used. So I guess 3.8s is the correct time, which
> still feel a bit slow.

Reply via email to