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