Vectorization
From Ufldl
m |
(removed question, see details in talk page) |
||
Line 40: | Line 40: | ||
since this lets Matlab/Octave extract more parallelism from your code, while | since this lets Matlab/Octave extract more parallelism from your code, while | ||
also incurring less computational overhead from the interpreter. | also incurring less computational overhead from the interpreter. | ||
- | |||
- | |||
In terms of a strategy for writing your code, initially you may find that vectorized code is harder to write, read, and/or debug, | In terms of a strategy for writing your code, initially you may find that vectorized code is harder to write, read, and/or debug, |