aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rescuable.rb
diff options
context:
space:
mode:
authorBrian Cardarella <bcardarella@gmail.com>2013-06-10 23:22:08 -0400
committerBrian Cardarella <bcardarella@gmail.com>2013-06-10 23:22:08 -0400
commit748d3f38df5d32c5e1eb1d82c07b8abffbb44973 (patch)
treefc02c2116093b3d7cf79269eabbb90a0e7758781 /activesupport/lib/active_support/rescuable.rb
parentebf2113a0565d2e38802f29291b3971b2c7f7922 (diff)
downloadrails-748d3f38df5d32c5e1eb1d82c07b8abffbb44973.tar.gz
rails-748d3f38df5d32c5e1eb1d82c07b8abffbb44973.tar.bz2
rails-748d3f38df5d32c5e1eb1d82c07b8abffbb44973.zip
Use symbols instead of strings
ActiveSupport::Concern is used all over Rails This PR will only create 3 new objects as keys are never recreated and are not subject to garbage collection. The strings were being uniquely created and garbage collected. I don't have any performance numbers but this should be better than all of the GC.
Diffstat (limited to 'activesupport/lib/active_support/rescuable.rb')
0 files changed, 0 insertions, 0 deletions