aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/log_subscriber.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-02-18 11:09:15 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-02-18 11:10:43 -0800
commit8bb52f929f36994fd5b42295d24b627f132fe318 (patch)
tree8f31e749813bc247d9f4f24e064bd47ced3f9d5e /actionview/lib/action_view/log_subscriber.rb
parentfb8d01f1ef7da0a3c8c0173d6c3da59afe9d1ca5 (diff)
downloadrails-8bb52f929f36994fd5b42295d24b627f132fe318.tar.gz
rails-8bb52f929f36994fd5b42295d24b627f132fe318.tar.bz2
rails-8bb52f929f36994fd5b42295d24b627f132fe318.zip
cache all subnodes in the digest cache
this is for backwards compatibility. We should remove this after 5-0-stable is created because digest calculation should be amortized. Caching digests of subtrees will speed up digests for other trees that share the same children. However, this will also increase memory, and after the app warms up, then those subtrees will never be reused which means that memory is wasted.
Diffstat (limited to 'actionview/lib/action_view/log_subscriber.rb')
0 files changed, 0 insertions, 0 deletions