1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/lib
Dillon Welch d108288c2f
Turn on performance based cops
Use attr_reader/attr_writer instead of methods

method is 12% slower

Use flat_map over map.flatten(1)

flatten is 66% slower

Use hash[]= instead of hash.merge! with single arguments

merge! is 166% slower

See https://github.com/rails/rails/pull/32337 for more conversation
2018-07-23 15:37:06 -07:00
..
action_mailer Turn on performance based cops 2018-07-23 15:37:06 -07:00
rails/generators/mailer Strip duplicated suffixes more strictly 2018-04-22 14:30:07 +09:00
action_mailer.rb Eager autoload mail gem when eager load is true (#32808) 2018-05-23 16:50:36 -04:00