[julia-users] Re: Comparisons Two Same Code in Julia But some difference results

2015-05-01 Thread Kenan KARAGÜL
function sumofsins1(n::Integer) r = 0 for i in 1:n r += sin(3.4) end return r end function sumofsins2(n::Integer) r = 0.0 for i in 1:n r += sin(3.4) end return r end function sumofsins3(n::Integer) r = 0.0

[julia-users] Re: Comparisons Two Same Code in Julia But some difference results

2015-05-01 Thread Kenan KARAGÜL
Thank you. Problem solved. 1 Mayıs 2015 Cuma 17:58:35 UTC-4 tarihinde John Myles White yazdı: Re. perf changes: there was a regression since 2013. There's an issue here: https://github.com/JuliaLang/julia/issues/9942 -- John On Friday, May 1, 2015 at 12:10:37 PM UTC-7, Kenan KARAGÜL

[julia-users] Re: Comparisons Two Same Code in Julia But some difference results

2015-05-01 Thread Patrick O'Leary
That post is from 2013. Output from @time has gotten more detailed since then to include the note about GC when it occurs. Not sure about the performance difference--comparing across both different machines and Julia versions is going to be tricky. On Friday, May 1, 2015 at 2:10:37 PM UTC-5,