From: "Bartosz DziewoƄski" Date: 2013-06-13T21:23:58+09:00 Subject: Re: Timsort in Ruby On Wed, 12 Jun 2013 23:38:17 +0200, Alphonse 23 wrote: > I just learned about Tim sort for the first time: > http://en.wikipedia.org/wiki/Timsort. Is there some specific reason > why timsort isn't implemented in Ruby, or is it just not a priority of > the Ruby community at the moment, and it may be addressed later? Probably simply because nobody ever did that. If you implemented it and submitted a patch (with benchmarks proving that it is in fact an improvement), it would probably be happily accepted. (But do note, the sorting funciton Ruby uses seems already heavily magically optimized: http://rxr.whitequark.org/mri/source/util.c#286 ) -- Matma Rex