Actions
Refactor #37287
closedIterate on hashes when both key and value are used
Description
In various places we have patterns like hash.keys.each { |k| hash[k] }
(or with .keys.sort
). It's better to replace this with hash.each { |k, v| }
to avoid lookups.
Updated by The Foreman Bot 11 months ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman/pull/10108 added
Updated by Ewoud Kohl van Wijngaarden 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|0085153c296214f2810cbde46b5ee7b3b24cef1c.
Updated by Ewoud Kohl van Wijngaarden 8 months ago
- Triaged changed from No to Yes
Actions