Ruby Conf 2024 Fast Forward: Speeding up Delegate Methods by Aaron Patterson
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=Avp7yJZLy6A
Delegate methods are methods that take any parameters, and pass those parameters on to other methods. It may not seem like it, but this is an extremely common pattern in Ruby code. In this session, we’re going to learn how Ruby method calls work, how inline caches work, and how we can use the combination of this knowledge to optimize delegate methods.