I can see that but it was not directly obvious to me. I guess that is why I 
am playing with Julia. Now onto Euler 26 should not be too hard...

On Wednesday, 23 July 2014 17:40:07 UTC+1, John Myles White wrote:
>
> Why not view this as a learning opportunity to discover that changes you 
> perceive to be minor are, in fact, not minor -- but are instead substantive 
> changes to the semantics of your program? 
>
>  -- John 
>
> On Jul 23, 2014, at 9:38 AM, Arnaud Amiel <aam...@gmail.com <javascript:>> 
> wrote: 
>
> > 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