aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/cache_helper.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2015-07-24 23:27:35 -0500
committerschneems <richard.schneeman@gmail.com>2015-07-29 20:41:57 -0500
commit1a14074fb525cde4a439a1fb7515fe417c37ff96 (patch)
tree946ab830a618370036698d4e462ac3e31ef9f5ef /actionview/lib/action_view/helpers/cache_helper.rb
parent0cbec58ae48279ae5e9fdf6bbdbceb32183215dd (diff)
downloadrails-1a14074fb525cde4a439a1fb7515fe417c37ff96.tar.gz
rails-1a14074fb525cde4a439a1fb7515fe417c37ff96.tar.bz2
rails-1a14074fb525cde4a439a1fb7515fe417c37ff96.zip
Reduce hash allocations in route_set
When generating a url with `url_for` the hash of arguments passed in, is dup-d and merged a TON. I wish I could clean this up better, and might be able to do it in the future. This change removes one dup, since it's literally right after we just dup-d the hash to pass into this constructor. This may be a breaking, change but the tests pass...so :shipit: we can revert if it causes problems This change buys us 205,933 bytes of memory and 887 fewer objects per request.
Diffstat (limited to 'actionview/lib/action_view/helpers/cache_helper.rb')
0 files changed, 0 insertions, 0 deletions