Skip to content

Avoid array allocation for *nil, by not calling nil.to_a#9074

Merged
headius merged 1 commit intojruby:ruby-4.0from
headius:nil_splat
Nov 18, 2025
Merged

Avoid array allocation for *nil, by not calling nil.to_a#9074
headius merged 1 commit intojruby:ruby-4.0from
headius:nil_splat

Conversation

@headius
Copy link
Member

@headius headius commented Nov 18, 2025

For Ruby 4.0 compatibility.

See https://bugs.ruby-lang.org/issues/21047

See #9061

@headius headius added this to the JRuby 10.1.0.0 milestone Nov 18, 2025
@headius headius mentioned this pull request Nov 18, 2025
@headius headius merged commit becb750 into jruby:ruby-4.0 Nov 18, 2025
60 of 77 checks passed
@headius headius deleted the nil_splat branch November 18, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant