Open r-plus opened 6 years ago
oops, should I support Ruby 2.3 to pass CI?
(Enumerable#sum
method is added since 2.4.)
or drop support 2.3 and add 2.5 to CI matrix to support latest 2 minor versions of Ruby.
oops, should I support Ruby 2.3 to pass CI?
Yes. Because default Ruby on macOS is still Ruby 2.3...
I recommend you to use just call reduce
instead of sum
.
executions.map(:time).reduce(:+)
okey, I understand support policy for this project. and thanks for your suggestion to do it, I'll fix it.
Fixed to support Ruby 2.3. @giginet Could you review it?
hi @giginet
I want to add
--per-file
option to sum time per file. It is useful to know total compile time for file is reduced when if we refactoring single function to split some small functions.example
off(default)
on
thanks.