Re:Ruby 3.3's YJIT: Faster While Using Less Memory
by byroot on Tuesday December 19, 2023 @02:04AM
(#38692728)
To be slightly more correct, there is inlining but only of trivial methods that simply return an immediate value or a constant, e.g.
class NilClass
def blank?
true
end
def present?
false
end
end
Oh wow. Had no idea there was no inlining. That is potentially another 2-3x performance.