• S
    Cut string ActionView template allocations · 9b189a31
    schneems 提交于
    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.
    9b189a31
template.rb 13.9 KB