Commit Graph

1 Commits (930c7af2d9b0b8fef6a39b86c88b423c7a69c3d4)

Author SHA1 Message Date
luigi 087ed84367
Optimize map { ... }.compact calls (#15513)
* Optimize map { ... }.compact

using Enumerable#filter_map, supported since Ruby 2.7

* Add poyfill for Enumerable#filter_map
2021-01-10 00:32:01 +01:00