[julia-users] Slow Performance Compared to MATLAB
Ome minor thing minimum([a,b]) -> min(a,b). Relevant parts of documentation for performance issues http://docs.julialang.org/en/release-0.5/manual/faq/ http://docs.julialang.org/en/release-0.5/manual/performance-tips/ http://docs.julialang.org/en/release-0.5/manual/noteworthy-differences/
[julia-users] Slow Performance Compared to MATLAB
Lots of lots of can be done for improvements over there. First of most indexing with [:,i] allocates a lot of temporaries in this code. At least, you could do size(vertex,i) instead of length(vertex[:,i]). Some of variables initialized like a=[], it is dangerous since it makes element type of it Any. If you know the element type of a, do it like a=TypeOfa[]. These are my observings.