Comment by phendrenad2
3 days ago
Has anyone actually benchmarked the use of frozen string literals? I feel like this is one of those micro-optimizations that everyone does, but they're probably accomplishing a diminishingly small performance improvement, while making the codebase less readable. On net, a negative.
Yes: https://bugs.ruby-lang.org/issues/20205#note-34
Ah excellent. Seems like a modest performance improvement.