Scott Myron 2026-04-20 03:49:05 +0000 (Mon, 20 Apr 2026)
New Revision: c568944b8f
https://github.com/ruby/ruby/commit/c568944b8f
Log:
[ruby/json] Force ensure_valid_encoding to be inlined.
And move the encoding convertion logic in another function with NOINLINE.
The overwelming majority of strings are correctly encoded, so we
want to inline the very cheap check, however we don't want to
inline the much larger piece of code required to re-encode the string