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.

Reply via email to