Alan Wu 2026-03-30 18:55:31 +0000 (Mon, 30 Mar 2026)
New Revision: f6adf1c48f
https://github.com/ruby/ruby/commit/f6adf1c48f
Log:
ZJIT: Use a slice for ISeq `opt_table` for quick one-off access
This gets rid of the copying of the entire opt_table in
function_stub_hit() since it only reads one element. HIR builder
still does a copy and that's unchanged. It needs to read the whole
table.
Modified files:
zjit/src/codegen.rs
zjit/src/cruby.rs
zjit/src/hir.rs