Skip to content

Enable frozen string in app/services/**/*.rb

What does this MR do?

Enable frozen string literals in app/services/**/*.rb.

This only encompasses the first 100 files (100 was suggested limited by @godfat back here), which coincidentally perfectly covers all of the sub-directories from application_settings to labels.

Why was this MR needed?

Because frozen strings require fewer memory allocations, and memory efficiency is a good thing.

What are the relevant issue numbers?

Partially addresses #47424 (closed).

Suggested Reviewers/Approvers/Mergers

@stanhu @godfat @rymai

Merge request reports