News for hackers. Stuff that matters.
Re:Ruby 3.3's YJIT: Faster While Using Less Memory by ksec on Tuesday December 19, 2023 @02:01AM (#38692711)
>On the JIT side, there is still no inlining,

Oh wow. Had no idea there was no inlining. That is potentially another 2-3x performance.

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