On the graph it shows the quicksort for Julia has speed of 1.24, C has the 
speed of 1.00 since it is used for the standard, and Go has a speed of 
1.11. I want to know why is Go faster than Julia when it is built in. But 
the results are from Julia 0.3.2 not 3.4. So I am not sure what the updated 
results look like.

On Monday, December 29, 2014 2:06:58 PM UTC-8, Steven G. Johnson wrote:
>
> What makes you think quicksort is faster in C?   I just tried a quick 
> check of Julia's built-in sort! function vs. C's qsort function for 10^7 
> random int32 values, and Julia's was 2x faster.
>
> Using a much simpler unoptimized quicksort implementation, the benchmark 
> numbers are also pretty close to C (http://julialang.org/benchmarks/).
>
> This is not to say that things cannot be improved, especially for 
> particular datatypes and applications (see also 
> https://github.com/JuliaLang/julia/issues/939), just that Julia does not 
> seem particularly bad here.  Did you have a specific case where you 
> observed a problem?
>

Reply via email to