Optimizing Java using D

Xinok via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 17:43:56 PDT 2014


On Friday, 20 June 2014 at 23:34:32 UTC, Walter Bright wrote:
> http://www.reddit.com/r/programming/comments/28mp3m/the_magic_forest_problem_revisited_optimising/
>
> The article indicates there may be a performance problem with 
> std.algorithm.sort

I get the feeling that, because he is utilizing UFCS, that it is 
actually calling the built-in array sort and not 
std.algorithm.sort. The built-in sort is 3-4x slower, so that 
would explain why his naive quicksort implementation was faster.


More information about the Digitalmars-d mailing list