On 2/7/06, Robert Klemme <bob.news / gmx.net> wrote:> Marcin Miel˝ˇki 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.
(or both)
Jacob Fugal