3 ms·
One thing that is holding me back from porting my Matlab code to Julia is manual loop-unrolling. "It seems that, when using Julia, one needs to unlearn everythi
by shared4you 14y ago
One thing that is holding me back from porting my Matlab code to Julia is manual loop-unrolling. "It seems that, when using Julia, one needs to unlearn everything you’ve ever learned about vectorisation in MATLAB." [1]. Once the speed with Matlab-like syntax improves, I'll try again.
[1]: http://www.walkingrandomly.com/?cat=59 http://www.walkingrandomly.com/?cat=59
- pygy_ 14y ago> Once the speed with Matlab-like syntax improves, I'll try again. The @devec macro should help, meanwhile: @devec r = a .* b + c .* d + a ... will devectorize the expression. It's not perfect, but it's definitely useful. https://github.com/lindahua/Devectorize.jl https://github.com/lindahua/Devectorize.jl