Skip to content

[pull] master from ruby:master - #1375

Merged
pull[bot] merged 1 commit into
turkdevops:masterfrom
ruby:master
Sep 4, 2026
Merged

[pull] master from ruby:master#1375
pull[bot] merged 1 commit into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Sep 4, 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 : )

rb_yield() calls GET_EC() on every element, which on arm64 is an
out-of-line call to rb_current_ec() (RB_THREAD_CURRENT_EC_NOINLINE).
Hoist it out of the loop and use rb_ec_yield(), as ff831eb does
for Mutex#synchronize.

benchmark/loop_each.yml: 1.16x on arm64-darwin, 1.05x on aarch64-linux.
@pull pull Bot locked and limited conversation to collaborators Sep 4, 2026
@pull pull Bot added the ⤵️ pull label Sep 4, 2026
@pull
pull Bot merged commit 07ef97d into turkdevops:master Sep 4, 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.

1 participant