<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/-ext-/array/test_to_ary_concat.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Guard array when appending</title>
<updated>2021-09-01T17:58:20+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2021-08-31T23:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8db269edb3550a85dfab9b193ea115ca36912ced'/>
<id>8db269edb3550a85dfab9b193ea115ca36912ced</id>
<content type='text'>
This prevents early collection of the array.  The GC doesn't see the
array on the stack when Ruby is compiled with optimizations enabled

Thanks @jhaberman for the test case

[ruby-core:105099] [Bug #18140]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents early collection of the array.  The GC doesn't see the
array on the stack when Ruby is compiled with optimizations enabled

Thanks @jhaberman for the test case

[ruby-core:105099] [Bug #18140]
</pre>
</div>
</content>
</entry>
</feed>
