-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Hash#transform_keys to take a hash argument #2464
Conversation
Hello ccocchi, thanks for contributing a PR to our project! We use the Oracle Contributor Agreement to make the copyright of contributions clear. We don't have a record of you having signed this yet, based on your email address cocchi -(dot)- c -(at)- gmail -(dot)- com. You can sign it at that link. If you think you've already signed it, please comment below and we'll check. |
Hello, this looks good, thank you for the PR. |
Hello ccocchi, thanks for contributing a PR to our project! We use the Oracle Contributor Agreement to make the copyright of contributions clear. We don't have a record of you having signed this yet, based on your email address cocchi -(dot)- c -(at)- gmail -(dot)- com. You can sign it at that link. If you think you've already signed it, please comment below and we'll check. |
Sorry about the duplicate message, it's maybe because I edited the first one to fix the link. |
Great! I signed it yesterday, it is still under review. |
The OCA went through, the bot should react soon. |
I think in this case it would be more readable to have a separate loop, given there are 3 checks for Performance-wise, it seems a bit better to have separate loops for the interpreter, and if the method is not split (i.e., the runtime does not create a copy for a call site because e.g. it ran out of split budget). |
ccocchi has signed the Oracle Contributor Agreement (based on email address cocchi -(dot)- c -(at)- gmail -(dot)- com) so can contribute to this repository. |
Changes are done 🙂 Out of curiosity, did you use any tool (like |
In this case my overall knowledge. |
Thanks for the changes, I'll add a CHANGELOG entry and I'll figure out if I add the spec to |
3f62717
to
b9aa5b0
Compare
* It is reliable now.
Hello,
This is part of the Ruby 3.0 support - #2453. I've tested the changes against the ruby/spec suite plus the changes I've added to the suite.
About the implementation, I wasn't sure if the check for the mapping presence should be done within the loop (what I ended up doing) or outside of it, which would make the code more verbose/duplicate.
This is my first contribution to truffleruby, so any feedback is welcome 🙂