Depends how you use it, just last week I’ve hit 40 nanoseconds unpacking a 8 megabyte msgpack array and accessing one of its values in a hash.
As long as you only use ruby as glue code for c(++) extensions it’s pretty fast.
As long as you only use ruby as glue code for c(++) extensions it’s pretty fast.
I don't recall exactly where I read it, but I think was a while ago when they announced one of the newest JIT engines.
More Ruby code means more room for optimizations that the team can identify and add to the compiler
Another way of saying that is "as long as you don't use it it won't slow you down".