Commit Graph

1 Commits (e848d281d55a3c753f6dc8d9f32a3d7eb9b9a2ff)

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