Skip to content

[pull] master from ruby:master - #1286

Merged
pull[bot] merged 2 commits into
turkdevops:masterfrom
ruby:master
Aug 7, 2026
Merged

[pull] master from ruby:master#1286
pull[bot] merged 2 commits into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Aug 7, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

k0kubun and others added 2 commits August 6, 2026 16:49
)

YJIT's jit_rb_str_concat branches on the two strings' encoding flags and
calls a simple rb_str_cat-based append when they match, which skips the
coderange and encoding bookkeeping in rb_str_buf_append. Do the same in
ZJIT's StringAppend codegen.

Since the helper is now shared by both JITs, move it from yjit.c to
jit.c and rename it from rb_yjit_str_simple_append to
rb_jit_str_simple_append.

This recovers most of the gap against YJIT on the str_concat benchmark.
@pull pull Bot locked and limited conversation to collaborators Aug 7, 2026
@pull pull Bot added the ⤵️ pull label Aug 7, 2026
@pull
pull Bot merged commit 33752cd into turkdevops:master Aug 7, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants