You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds good to me - would you be willing to document this speed up first in the https://github.com/JuanitoFatas/fast-ruby repository and then submit a PR to fasterer?
Hash.update is an alias for Hash.merge!
Currently we have
hash_merge_bang_vs_hash_brackets
which suggests us to replace Hash#merge!() with Hash#[] but it doesn't suggest for Hash#update().Example
Can we extend this to Hash.update()?
The text was updated successfully, but these errors were encountered: