fff4b3ef2e (master): Make T_MATCH objects able to go through the GC cleanup_p fastpath

0 views
Skip to first unread message

Luke Gruber

unread,
May 14, 2026, 6:09:12 PM (11 days ago) May 14
to ruby...@g.ruby-lang.org
Luke Gruber 2026-05-14 20:47:07 +0000 (Thu, 14 May 2026)

New Revision: fff4b3ef2e

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

Log:
Make T_MATCH objects able to go through the GC cleanup_p fastpath

I think it's likely they will go through this path as well.

Bitflag for external offsets allocation is jhawthorn's idea, since size
always equals num_regs if it's allocated.

Modified files:
gc.c
internal/re.h
re.c
Reply all
Reply to author
Forward
0 new messages