Skip to content

Try and make UDP look a little more like MRI (and hopefully make it more functional)#8048

Merged
enebo merged 2 commits intojruby:masterfrom
enebo:udp
Dec 29, 2023
Merged

Try and make UDP look a little more like MRI (and hopefully make it more functional)#8048
enebo merged 2 commits intojruby:masterfrom
enebo:udp

Conversation

@enebo
Copy link
Member

@enebo enebo commented Dec 21, 2023

At worst this will be a little refactoring but it should at least print more info closer to what MRI has. If this leads to it working better than that will be in there as well (which is what I hope happens).

Thus far:

  1. Mild refactoring.
  2. Eliminated unneeded instanceof check for String when we already know it is a Fixnum. This also eliminated an extra RubyInteger check.

…n we already know it is a Fixnum. This also eliminated an extra RubyInteger check too
@enebo enebo added this to the JRuby 9.4.6.0 milestone Dec 29, 2023
@enebo enebo merged commit 1848686 into jruby:master Dec 29, 2023
@enebo enebo deleted the udp branch March 4, 2025 18:33
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