Actions
Patch #34399
closedUse sum { ... } instead of map { ... }.sum
Description
The attached patch removes unnecessary map/collect method calls. I have generated the attached patch with rubocop-performance 1.9.0.
Files
Updated by Go MAEDA almost 4 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch.
Actions