Aaron Patterson
- 8mo ·
-
Public·
-
mastodon.social
I've been tooting about optimizing delegate calls in Ruby (... calls), which I think are relatively rare. But the main motivation is that I want to implement Class#new in Ruby using delegation. I made a WIP PR and you can see the implementation of Class#new here: https://github.com/ruby/ruby/pull/9289/files#diff-919ef5932e2ffb97a00a90eb06036b733c6d26cf69cc13014a3ac174bd351fde