You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ZJIT: Specialize #[] into an rb_hash_aref call if a profiled type is Hash #793
The interpreter inlines Hash#[] calls, but ZJIT doesn't. So enabling ZJIT would slow down ISEQs with Hash#[] calls. It should be at least as fast as what the interpreter does.
Activity
k0kubun commentedon Oct 10, 2025
This is the most frequently called (not dynamically dispatched or already inlined) C method on lobsters.
aidenfoxivey commentedon Oct 14, 2025
Getting started on this now.
ZJIT: Add HashAref to HIR and inline Hash#[] to HashAref (ruby#14838)