Hi, I want improve the performance of the for loop, any suggestion?

https://gist.github.com/elsuizo/10986149

I try:

k3 = Int64[ sum(s .< z[i]) for i = 2:n-1]

but is still slower than Matlab


Thanks in advance

Reply via email to