Closed amencarini closed 6 years ago
Hi! &method
& Symbol#to_proc
are different. Please see the explanations here: https://github.com/JuanitoFatas/fast-ruby/commit/cf64ab7e51bab12e4daf5956f2a7e93ace7665a4#commitcomment-12068179. Hope this helps.
I found the &method(...) section a bit misleading, as I never found myself writing code that way, but alarmed me as I use
Symbol#to_proc
a lot. So I ran a different benchmark:Although I later found something targeting specifically
to_proc
I think it's worth making it clear that we're not talking aboutSymbol#to_proc
syntax here. Thoughts?