summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-12-10 10:20:02 -0800
committerJohn Hawthorn <john@hawthorn.email>2025-12-12 13:53:06 -0800
commite7a38b32e0516e6b7d74f6cd55480cb453486691 (patch)
treea62c2ea20a531493f6eaddf6add6782fe59e806b /include/ruby/internal
parent2884f53519c4b86072d5fc3b41a71cee697af8ba (diff)
Store Encoding#name as an attribute
When debugging the fstring table, I found "UTF-8" to be the most common interned strings in many benchmarks. We have a fixed, limited number of these strings, so we might as well permanently cache their fstrings.
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions