From: Daniel Berger Date: 2009-05-15T22:54:53+09:00 Subject: Re: enumerable-extra 0.1.0 On May 15, 1:47 am, Martin DeMello wrote: > On Thu, May 14, 2009 at 9:38 PM, Daniel Berger wrote: > > > = Why is it better than Symbol#to_proc ? > > > First, it doesn't require additional notation, i.e. no "&", no "its", no > > "self" - just a method name. In my opinion, that makes the syntax cleaner. > > Second, Symbol#to_proc is slow. > > This looks very nice! What would it take to port to ruby 1.9? I'm not sure. I declared that it was for 1.8.x only because I hadn't tested it with 1.9.x and I wasn't sure if it would break its builtin Symbol#to_proc support, or what would happen. I'll do some testing later this week with 1.9.x and see what happens. Regards, Dan