As suggested by a few of you, I put everything in a function and now it 
runs in 1/4 s, that is nearly 32 x improvement for 'no change' that is one 
of the aspects I don't like in julia.
Anyway, lesson learnt I will now put everything inside functions and will 
learn how to use the profiler

Reply via email to