[julia-users] Re: matrix multiplication in Matlab is much faster

2016-10-16 Thread majid . zamani150
thanks @chris ... thanks a lot ... On Sunday, October 16, 2016 at 8:51:56 PM UTC+3:30, Chris Rackauckas wrote: > > Take a look at the performance tips > . The > first time you run it, the function will compile. Then the compiled

[julia-users] Re: matrix multiplication in Matlab is much faster

2016-10-16 Thread Chris Rackauckas
Take a look at the performance tips . The first time you run it, the function will compile. Then the compiled function is cached. On my computer I did: a = rand(1000,1000) y=similar(a) @time a*a @time a*a @time A_mul_B!(y,a,a)