From: Joel VanderWerf Date: 2008-04-18T14:27:03+09:00 Subject: Re: When are lambdas needed? Ken Bloom wrote: > There are about a zillion ways to get and use a Proc object in Ruby > > def foo > yield 1 > end There's no Proc object involved in this case. For this reason, it's generally more efficient to use yield rather than &block, if possible in the context of your program. http://groups.google.com/group/ruby-talk-google/browse_thread/thread/1ba144ea7d8fc85d -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407