> I’ve seen vectorisation taken to the extreme, with negative consequences in > terms of both speed and readability, in both Python and MATLAB codebases, so > I would suggest some discussion / wisdom about when not to vectorise.
I agree and there is actually a warning in the introduction about readability vs speed with an example showing a clever optimization (by Jaime Fernández del Río) that is hardly readable for the non-experts (including myself). Nicolas _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion