Groups
Groups
Sign in
Groups
Groups
ruby-cvs
Conversations
About
Send feedback
Help
90f74e0672 (master): [ruby/strscan] Implement compaction and embedded structs
1 view
Skip to first unread message
Jean Boussier
unread,
Mar 30, 2026, 9:25:34 PM (22 hours ago)
Mar 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby...@g.ruby-lang.org
Jean Boussier 2026-03-31 01:24:42 +0000 (Tue, 31 Mar 2026)
New Revision: 90f74e0672
https://github.com/ruby/ruby/commit/90f74e0672
Log:
[ruby/strscan] Implement compaction and embedded structs
(
https://github.com/ruby/strscan/pull/201
)
GC compaction was introduced in Ruby 2.7.
Embedded Structs was introduced in Ruby 3.3. When enabled, the `struct
strscanner` is stored directly inside the object slot, meaning reading
the struct member doesn't require loading another memory region.
https://github.com/ruby/strscan/commit/a018cbe40e
Modified files:
ext/strscan/extconf.rb
ext/strscan/strscan.c
Reply all
Reply to author
Forward
0 new messages