added 2 commits
November 29, 2025 19:20found as a bug in mruby-hashie and bisected to commit 09336c5 which adds OP_(GET|SET)IDX. OP_SETIDX seeps to default to dispatch as of now.
matz added a commit that referenced this pull request
Dec 25, 2025matz added a commit that referenced this pull request
Dec 25, 2025matz added a commit that referenced this pull request
Dec 25, 2025Add inline optimizations for Array#[]= and Hash#[]= in OP_SETIDX, matching the pattern established for OP_GETIDX: - Array class: use mrb_ary_set() directly (integer index only) - Hash class: use mrb_hash_set() directly - Subclasses: fall back to method dispatch (can override []=) - String: unchanged (complex 2-3 argument signature) Co-authored-by: Claude <noreply@anthropic.com>