I don't understand what your code does, but I know that Julia currently makes a 
copy of an array when you do slicing. Numpy gives a reference. You might try to 
pass the array and index instead of a slice. For maximal performance in Julia 
you might try to write explicit loops instead of vectorized expressions.

Reply via email to