diff options
author | Brian Cardarella <bcardarella@gmail.com> | 2013-06-10 23:22:08 -0400 |
---|---|---|
committer | Brian Cardarella <bcardarella@gmail.com> | 2013-06-10 23:22:08 -0400 |
commit | 748d3f38df5d32c5e1eb1d82c07b8abffbb44973 (patch) | |
tree | fc02c2116093b3d7cf79269eabbb90a0e7758781 /activesupport/lib/active_support/duration.rb | |
parent | ebf2113a0565d2e38802f29291b3971b2c7f7922 (diff) | |
download | rails-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/duration.rb')
0 files changed, 0 insertions, 0 deletions