this would make delegate calls incredibly common, so it's important that they'd be fast. Anyway, if you combine the delegate optimization along with implementing Class#new in Ruby it actually reduces object allocations because passing kwargs across a Ruby to C boundary requires allocating a hash. Here's a screenshot of both patches combined vs Ruby's master branch

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies