diff options
author | schneems <richard.schneeman@gmail.com> | 2015-07-25 00:08:47 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2015-07-29 20:41:58 -0500 |
commit | 9b189a31696b6572ffb8164f1f3041d57e8eeebe (patch) | |
tree | f121e8723a58ad88092b0ea499f457a8495ce7d1 /.yardopts | |
parent | 2e95d2ef90a32a7ed6fbb14f4e0a6764fc9e017b (diff) | |
download | rails-9b189a31696b6572ffb8164f1f3041d57e8eeebe.tar.gz rails-9b189a31696b6572ffb8164f1f3041d57e8eeebe.tar.bz2 rails-9b189a31696b6572ffb8164f1f3041d57e8eeebe.zip |
Cut string ActionView template allocations
The instrument method creates new strings, the most common action to instrument is "!render_template` so we can detect when that action is occurring and use a frozen string instead.
This change buys us 113,714 bytes of memory and 1,790 fewer objects per request.
Diffstat (limited to '.yardopts')
0 files changed, 0 insertions, 0 deletions