aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
diff options
context:
space:
mode:
authorAttila Domokos <adomokos@gmail.com>2014-08-22 08:08:12 -0500
committerAttila Domokos <adomokos@gmail.com>2014-08-22 08:08:12 -0500
commit1079bb6d7dafa975fbe6b56fbf8824c84e7fca17 (patch)
tree875e2b370351fbc5ecdd8d9219c77820c8fa2c63 /activesupport/lib/active_support/values
parent36895bd90fe02dbbf2c8461dffb30eb25c7cf3e1 (diff)
downloadrails-1079bb6d7dafa975fbe6b56fbf8824c84e7fca17.tar.gz
rails-1079bb6d7dafa975fbe6b56fbf8824c84e7fca17.tar.bz2
rails-1079bb6d7dafa975fbe6b56fbf8824c84e7fca17.zip
Using `each_with_object` instead of `reduce`
This way no new object allocation is taking place. Thanks @jeremy for the suggestion!
Diffstat (limited to 'activesupport/lib/active_support/values')
0 files changed, 0 insertions, 0 deletions