fasterer
fasterer copied to clipboard
Hash#update() vs Hash#[]=
Hash#update is an alias for Hash#merge! Ergo, the suggestions for Hash#update should be similar to Hash#merge!
Ref https://github.com/DamirSvrtan/fasterer/issues/82
Link to Fast-Ruby PR : https://github.com/JuanitoFatas/fast-ruby/pull/195
Let me know once the Fast Ruby PR merges in, and we can then continue on!
It was merged last April :+1:
Keen for a merge please!
@DamirSvrtan Fast Ruby PR was merged, can we please merge this PR too? Thank you in advance.
I have merged it, and I might have done it without thinking this through enough! I have realized though how many issues this might cause, as update is such a commonly used method name in Ruby world (especially in Active Record).
Before I cut a new version of fasterer with this update, @manjunath724, @hlascelles, can you all chime in a bit with your thoughts on whether this will clash a bit too much and produce false positives?