Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid calling to_s at end of ERB #45756

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Commits on Aug 3, 2022

  1. Avoid calling to_s at end of ERB

    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).
    jhawthorn committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    ee68644 View commit details
    Browse the repository at this point in the history