2 ms·
You use Julia and let loop fusion handle it. You get 1 allocation if you want to store the result in a new array, or zero allocations if you already have the ar
by europeanguy 4y ago
You use Julia and let loop fusion handle it. You get 1 allocation if you want to store the result in a new array, or zero allocations if you already have the array allocated.
https://julialang.org/blog/2017/01/moredots/ https://julialang.org/blog/2017/01/moredots/