3 ms·
That's a myth, a pervasive one. I'll point you to one source that debunks this, but there are many. http://www.unlimitednovelty.com/2012/06/ruby-is-faster
by damncabbage 13y ago
That's a myth, a pervasive one. I'll point you to one
source that debunks this, but there are many.
http://www.unlimitednovelty.com/2012/06/ruby-is-faster-than-python-php-and-perl.html
It's unfortunately compromised by some boneheaded things in the MRI implementation. Method caching is a great example: https://charlie.bz/blog/things-that-clear-rubys-method-cache https://charlie.bz/blog/things-that-clear-rubys-method-cache
(Rails startup does a lot of the mentioned things, for example, but then so do a lot of apps' controller actions unless they're careful. The OpenStruct example is particular egregious.)