On Thu, Nov 29, 2012 at 10:14 PM, Frank Fischer <[email protected]> wrote:
> I agree with Robert, using #sort is probably the simplest approach and > reasonably fast in most situations. This is exactly what I would do. > But I also like playing around with algorithms ;) I put a few more variants which traverse the original Enumerable just once up at github to play around with: https://gist.github.com/4175335 Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
