Aaron Patterson
- 8mo ·
-
Public·
-
mastodon.social
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