Alex Rivera | Logout

Is Java 7 using Tim Sort for the Method Arrays.Sort?

Asked 2010-10-25T19:57:33.293
56

I can't find the documentation of Java 7, I can only find about the Java 6, which is still quick or merge. Does anyone know how to find the documentation of the method Arrays.sort in Java 7?

Edit
Report

1 Answer

22

Yes, Java 7 will use Timsort for Arrays.sort. Here is the commit: http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/bfd7abda8f79

answered 2010-10-25T20:51:26.370

Your Answer