From: Robert Klemme Date: 2006-02-07T17:58:22+09:00 Subject: Re: Method Definitions: &block vs. yield() Marcin Miel��y��ski wrote: > James H. wrote: > > Generally yield is much faster than converting block to a Proc. But > there are situations when you have to explicitly pass the block and > convert it, these two are the most obvious that come to my mind: > > saving a Proc object for delayed execution > implementing recursive iterators More generally all situations where you do not want to invoke the block from this method but pass it on to another. Kind regards robert