Patch #38146
Fix all performance-related RuboCop offenses
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Performance | |||
Target version: | 5.1.0 |
Description
This patch fixes all performance-related offenses detected by RuboCop.
These patches may improve performance, although very slightly.
Associated revisions
Fix RuboCop offense Performance/AncestorsInclude (#38146).
Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).
Raise MinSize for RuboCop Performance/CollectionLiteralInLoop to 4 (#38146).
Fix RuboCop offense Performance/ConstantRegexp (#38146).
Fix RuboCop offense Performance/FixedSize (#38146).
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).
Fix RuboCop offense Performance/RedundantMatch (#38146).
Fix RuboCop offense Performance/RedundantSplitRegexpArgument (#38146).
Disable RuboCop offense Performance/Sum in IssueFieldsRows#to_html (#38146).