I had assumed the function would be recompiled only if it had been changed, 
but that is not correct.  This has been very useful, thanks to everybody to 
replied.

On Thursday, September 17, 2015 at 10:39:13 PM UTC-4, Duane Wilson wrote:
>
>
>
> On Thursday, September 17, 2015 at 5:25:40 PM UTC-3, Kristoffer Carlsson 
> wrote:
>>
>> It is fast in IJulia too if you split the function definition and the 
>> timing into two different cells.
>
>
> Just to make sure what Kristoffer is saying is clear (because it has an 
> implicit reason way). If you run the function definition and the then 
> function call in the same cell, the function is overwritten and needs to be 
> recompiled by the JIT when you do the timing each time you run the cell. If 
> the timing is in a separate cell the function doesn't need to be recompiled 
> each time you run the cell.
>

Reply via email to