tags:

views:

225

answers:

2

Where can I find1 information resources, and probably, the source code for that new adaptive mergesort based sort algorithm mentioned by Joshua Bloch on his Devvox 2008 interview, and is mentioned as a RFE report too?

1 Remark: I used my favorite search engine, and its largest competitor too, without satisfactory result other than the RFE report.

+1  A: 

Googling for 'timsort java' gave me this - the OpenJDK7 patch which looks likes it's Joshua Bloch's implementation.

EDIT: Tim (unrelated, I guess!) has very kindly determined the URL for the actual Timsort.java from this repository.

Brian Agnew
Yes, I would need an undiff for that somehow.
kd304
It's a patch, so you can apply it to the OpenJDK source code
Brian Agnew
I'm too lazy to do that, and OpenJDK does not seem work on my Windows PC. I'd rather have the source in one piece.
kd304
That's available from the same address minus the timsort.patch, isnt it? http://cr.openjdk.java.net/~martin/webrevs/openjdk7/timsort/
Tim
@Tim - thanks for that. I've amended the answer appropriately
Brian Agnew
Thank you both. Excellent.
kd304
A: 

IIRC, there has been some discussion on the relevant OpenJDK mailing list.

Tom Hawtin - tackline