From: Matma Rex Date: 2013-01-25T09:19:46+09:00 Subject: Re: Enum#select with max number of items You could try out the lazy iterators in Ruby 2.0. The preview has been made available recently, and there are articles about this online already. -- Matma Rex