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.
- [julia-users] Can't figure out why Julia code takes 2... Eric Martin
- [julia-users] Re: Can't figure out why Julia cod... Eric Martin
- [julia-users] Re: Can't figure out why Julia... Ivar Nesje
- Re: [julia-users] Can't figure out why Julia cod... Stefan Karpinski
- Re: [julia-users] Can't figure out why Julia... Eric Martin
- Re: [julia-users] Can't figure out why J... Ivar Nesje
- Re: [julia-users] Can't figure out w... Alan Edelman
- Re: [julia-users] Can't figure ... Eric Martin
- Re: [julia-users] Can't fig... Stefan Karpinski
- Re: [julia-users] Can't fig... Jiahao Chen
- Re: [julia-users] Can't... Andreas Noack Jensen
- Re: [julia-users] Can't... Alan Edelman
