Skip to content
  • John Hawthorn's avatar
    ee68644c
    Avoid calling to_s at end of ERB · ee68644c
    John Hawthorn authored
    With the recent changes to OutputBuffer, calling `to_s` is extremely
    expensive if the buffer later is concatenated to (if the buffer never
    changes it should be relatively inexpensive, as Ruby will share memory).
    ee68644c
    Avoid calling to_s at end of ERB
    John Hawthorn authored
    With the recent changes to OutputBuffer, calling `to_s` is extremely
    expensive if the buffer later is concatenated to (if the buffer never
    changes it should be relatively inexpensive, as Ruby will share memory).
Loading