Re:Ruby vs. Crystal Performance
by strken on Friday June 05, 2020 @06:04PM
(#23434569)
To dig into method_missing a bit more: when you call a non-existent ruby method on any object it has to check for and run a method called method_missing, which can contain arbitrarily complex code, on the object itself as well as every class in the inheritance hierarchy. Because ruby is a dynamic language with dynamic dispatch, you can't easily precompute the results of doing this.
[ Parent
| on HN ]
There are no comments on this comment yet.