diff options
author | Josh Nichols <josh@technicalpickles.com> | 2023-08-21 21:41:06 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-08-22 04:41:22 +0000 |
commit | 0955ca342ed01b61161e1a46015a58b54d2e7205 (patch) | |
tree | e1ca362f36beb3a392f87b05b22cc40503b9a179 /tool/sync_default_gems.rb | |
parent | 925ce3f4fbe2f05b8673a6dbc763ecab9f04fae1 (diff) |
[ruby/erb] Enable frozen_string_literal in all files
(https://github.com/ruby/erb/pull/49)
I was surprised to see erb show up when I was using memory_profiler on
my app. ERB::Compiler#compile has a blank string literal, and it
ended up allocating some 41532 blank strings for a relatively small surface
area.
https://github.com/ruby/erb/commit/b7e45c2bdc
Diffstat (limited to 'tool/sync_default_gems.rb')
0 files changed, 0 insertions, 0 deletions