FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid array allocation for *nil, by not calling nil.to_a by headius · Pull Request #9074 · jruby/jruby · GitHub

/ jruby Public

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

Merged
headius merged 1 commit into
jruby: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 into
jruby:ruby-4.0from
headius:nil_splat

Conversation

headius commented Nov 18, 2025

Copy link
Copy Markdown
Member

For Ruby 4.0 compatibility.

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

See #9061

headius added this to the JRuby 10.1.0.0 milestone Nov 18, 2025
headius mentioned this pull request Nov 18, 2025
headius merged commit becb750 into jruby:ruby-4.0 Nov 18, 2025
60 of 77 checks passed
headius deleted the nil_splat branch November 18, 2025 05:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL