<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_struct.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 2e7e78cd590d20aa9d41422e96302f3edd73f623: [Backport #21440]</title>
<updated>2025-07-14T21:30:53+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-07-14T21:30:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2af8f305542fd20537435046c1a558db5b2cacc5'/>
<id>2af8f305542fd20537435046c1a558db5b2cacc5</id>
<content type='text'>
	[Bug #21440] Stop caching member list in frozen Data/Struct class
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #21440] Stop caching member list in frozen Data/Struct class
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Struct memory leak test faster</title>
<updated>2024-03-01T15:33:09+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>byroot@ruby-lang.org</email>
</author>
<published>2024-03-01T14:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f3af5ae7e6c1c096bbfe46d69de825a02b1696cf'/>
<id>f3af5ae7e6c1c096bbfe46d69de825a02b1696cf</id>
<content type='text'>
[Bug #20311]

It times out on some platform, so we can reduce iterations.
On my machine it completes in 250ms and RSS grows 8X.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #20311]

It times out on some platform, so we can reduce iterations.
On my machine it completes in 250ms and RSS grows 8X.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't pin named structs defined in Ruby</title>
<updated>2024-03-01T07:23:38+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>byroot@ruby-lang.org</email>
</author>
<published>2024-02-29T12:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e626da82eae3d437b84d4f9ead0164d436b08e1a'/>
<id>e626da82eae3d437b84d4f9ead0164d436b08e1a</id>
<content type='text'>
[Bug #20311]

`rb_define_class_under` assumes it's called from C and that the
reference might be held in a C global variable, so it adds the
class to the VM root.

In the case of `Struct.new('Name')` it's wasteful and make
the struct immortal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #20311]

`rb_define_class_under` assumes it's called from C and that the
reference might be held in a C global variable, so it adds the
class to the VM root.

In the case of `Struct.new('Name')` it's wasteful and make
the struct immortal.
</pre>
</div>
</content>
</entry>
<entry>
<title>When alloc size is too large, only allocate struct</title>
<updated>2023-06-12T14:20:05+00:00</updated>
<author>
<name>Matt Valentine-House</name>
<email>matt@eightbitraptor.com</email>
</author>
<published>2023-06-12T12:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6fe46ff967215e47ab2234e9b48663d2e3608081'/>
<id>6fe46ff967215e47ab2234e9b48663d2e3608081</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>A positional Hash is not keyword arguments [Bug #18632]</title>
<updated>2022-03-17T11:53:41+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-03-17T09:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e660b934b98943826f888f2b73f773c6411cd199'/>
<id>e660b934b98943826f888f2b73f773c6411cd199</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize Struct by calling with keyword arguments</title>
<updated>2021-12-26T14:28:54+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-26T13:39:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c956f979e5d05900315d2753d5c3b1389af8dae4'/>
<id>c956f979e5d05900315d2753d5c3b1389af8dae4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass UnboundMethod to 2nd arg of define_method</title>
<updated>2021-12-13T01:23:52+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-12T17:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5164c2b36f66e7b1d2e0f908663ee3f3a3830605'/>
<id>5164c2b36f66e7b1d2e0f908663ee3f3a3830605</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix Struct's setter arity</title>
<updated>2021-12-13T01:23:52+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-12T17:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fdfb43b2b129afb78c352c95776118eeceb245a2'/>
<id>fdfb43b2b129afb78c352c95776118eeceb245a2</id>
<content type='text'>
https://github.com/ruby/ruby/pull/5131/files#diff-b2553d23e6b1fe76e20608d06c25f6acca06279100f1a9c24febcd79a82fac3cR2689
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ruby/pull/5131/files#diff-b2553d23e6b1fe76e20608d06c25f6acca06279100f1a9c24febcd79a82fac3cR2689
</pre>
</div>
</content>
</entry>
<entry>
<title>Struct setter's parameters == `[:req, :_]`</title>
<updated>2021-12-13T01:23:52+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-12T16:58:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6659253cc6c807641e23d469b425ddcf18de7af4'/>
<id>6659253cc6c807641e23d469b425ddcf18de7af4</id>
<content type='text'>
fix [Bug #18405]

Note that the parameter name `_` is not a spec, so we shouldn't
rely on this behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix [Bug #18405]

Note that the parameter name `_` is not a spec, so we shouldn't
rely on this behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix setting struct member by public_send</title>
<updated>2021-11-20T15:31:51+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-11-20T15:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f3432cd4466c35cd9f482de3779d76f3957968f'/>
<id>8f3432cd4466c35cd9f482de3779d76f3957968f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
