Yeah, actually that was another mistake I made: I totally forgot that arrays are passed by reference, which means that modifications made to arr1 will affect arr2, which caused a load of nonsense. Not sure why it seemed to be allocating memory and taking time, though.
- [julia-users] Best way to minimize memory allocation in ... DumpsterDoofus
- [julia-users] Best way to minimize memory allocatio... Steven G. Johnson
- Re: [julia-users] Best way to minimize memory a... Stefan Karpinski
- [julia-users] Re: Best way to minimize memory alloc... DumpsterDoofus
- Re: [julia-users] Re: Best way to minimize memo... Stefan Karpinski
- Re: [julia-users] Re: Best way to minimize ... Peter Simon
- Re: [julia-users] Re: Best way to minim... DumpsterDoofus
