Skip to content

Conversation

@enebo
Copy link
Member

@enebo enebo commented Feb 13, 2024

Extra splat instr which did nothing

Ultimately this was an extra static helper method which would end up just doing an instanceof and a call to .nil() but a waste nonetheless.

Also it makes it so much more obvious this can be optimized more for pass through calls where there is no use of the variable being splatted. For that work we would have to determine if putting more logic into builder even makes sense.

@enebo enebo added this to the JRuby 9.4.6.0 milestone Feb 13, 2024
@enebo enebo merged commit 1a04282 into jruby:master Feb 13, 2024
@enebo enebo deleted the e_too_many_splats branch February 13, 2024 16:11
enebo added a commit to enebo/jruby that referenced this pull request Feb 13, 2024
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