Re:Ladies, look at your code. Now back to mine.
by jarin on Saturday August 28, 2010 @06:59AM
(#1641588)
Thank goodness Symbol#to_proc was introduced in Ruby 1.9, the Rails implementation of it was slow as hell: http://www.lukeredpath.co.uk/blog/optimising-symbol-to_proc....
[ Parent
| on HN ]
Re:Ladies, look at your code. Now back to mine.
by wuputah on Saturday August 28, 2010 @12:35PM
(#1641915)
That was fixed some time ago. It is very marginally slower to use Symbol#to_proc now (a constant time difference to actually create the Proc), but not enough to warrant a change in practical use.