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
Ruby 3.4 added optimizations which I believe are relevant to this cop. See ruby/ruby#12123
Basically specialized instruction handling for [:a, :b].include?(@ivar). I haven't benchmarked yet but maybe this cop can be disabled on ruby 3.4 for most common simple cases if numers are good. Will investigate later.
The text was updated successfully, but these errors were encountered:
Ruby 3.4 added optimizations which I believe are relevant to this cop. See ruby/ruby#12123
Basically specialized instruction handling for
[:a, :b].include?(@ivar)
. I haven't benchmarked yet but maybe this cop can be disabled on ruby 3.4 for most common simple cases if numers are good. Will investigate later.The text was updated successfully, but these errors were encountered: