Commit Graph

1 Commits (9107a290c1968519f764f86ec6ec6963e0750ec0)

Author SHA1 Message Date
luigi 944b059f50 Optimize map { ... }.compact calls ()
* 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