f20155d53c (master): marshal.c: Make partial objects table conditional

0 views
Skip to first unread message

Roman Samoilov

unread,
2:51 AM (21 hours ago) 2:51 AM
to ruby...@g.ruby-lang.org
Roman Samoilov 2026-08-25 14:47:59 +0000 (Tue, 25 Aug 2026)

New Revision: f20155d53c

https://github.com/ruby/ruby/commit/f20155d53c

Log:
marshal.c: Make partial objects table conditional

Only allocate and use the partial objects table when a load proc is active or loaded objects must be frozen.

Co-authored-by: Codex <nor...@openai.com>

Added files:
benchmark/marshal_load_partial_objects.yml
Modified files:
marshal.c
test/ruby/test_marshal.rb
Reply all
Reply to author
Forward
0 new messages