8f02f644eb (master): [ruby/json] Use RB_ENC_CODERANGE to first check the cached coderange before calling rb_enc_str_coderange if the coderange is unknown.

0 views
Skip to first unread message

Scott Myron

unread,
Apr 18, 2026, 10:14:40 PM (2 days ago) Apr 18
to ruby...@g.ruby-lang.org
Scott Myron 2026-04-18 02:10:37 +0000 (Sat, 18 Apr 2026)

New Revision: 8f02f644eb

https://github.com/ruby/ruby/commit/8f02f644eb

Log:
[ruby/json] Use RB_ENC_CODERANGE to first check the cached coderange before calling rb_enc_str_coderange if the coderange is unknown.

https://github.com/ruby/json/commit/4ef7a45654

Modified files:
ext/json/generator/generator.c
Reply all
Reply to author
Forward
0 new messages