Commit Graph

1 Commits (47f0d7021e76c60f5336b0c005c6336cd50c8009)

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
3 years ago