<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_marshal.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Use RTEST and add test for GH-6832</title>
<updated>2022-11-30T21:27:39+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2022-11-30T20:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5752d11f1f33d277356373da749db111e03c96b5'/>
<id>5752d11f1f33d277356373da749db111e03c96b5</id>
<content type='text'>
Technically we shouldn't see Qfalse now, but RTEST also compiles down to
just one branch anyways. Pretty contrived issue, but easy to fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Technically we shouldn't see Qfalse now, but RTEST also compiles down to
just one branch anyways. Pretty contrived issue, but easy to fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize Marshal dump/load for large (&gt; 31-bit) FIXNUM (#6229)</title>
<updated>2022-08-15T23:14:12+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2022-08-15T23:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0608a9a08693286a7d84845a216927ff2e3c9951'/>
<id>0608a9a08693286a7d84845a216927ff2e3c9951</id>
<content type='text'>
* Optimize Marshal dump of large fixnum

Marshal's FIXNUM type only supports 31-bit fixnums, so on 64-bit
platforms the 63-bit fixnums need to be represented in Marshal's
BIGNUM.

Previously this was done by converting to a bugnum and serializing the
bignum object.

This commit avoids allocating the intermediate bignum object, instead
outputting the T_FIXNUM directly to a Marshal bignum. This maintains the
same representation as the previous implementation, including not using
LINKs for these large fixnums (an artifact of the previous
implementation always allocating a new BIGNUM).

This commit also avoids unnecessary st_lookups on immediate values,
which we know will not be in that table.

* Fastpath for loading FIXNUM from Marshal bignum

* Run update-deps</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Optimize Marshal dump of large fixnum

Marshal's FIXNUM type only supports 31-bit fixnums, so on 64-bit
platforms the 63-bit fixnums need to be represented in Marshal's
BIGNUM.

Previously this was done by converting to a bugnum and serializing the
bignum object.

This commit avoids allocating the intermediate bignum object, instead
outputting the T_FIXNUM directly to a Marshal bignum. This maintains the
same representation as the previous implementation, including not using
LINKs for these large fixnums (an artifact of the previous
implementation always allocating a new BIGNUM).

This commit also avoids unnecessary st_lookups on immediate values,
which we know will not be in that table.

* Fastpath for loading FIXNUM from Marshal bignum

* Run update-deps</pre>
</div>
</content>
</entry>
<entry>
<title>test/ruby/test_marshal.rb: Prevent "assigned but unused variable" warning</title>
<updated>2021-10-25T11:43:42+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-10-25T11:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00c7b91f9103fa8bc38ef294f097160c2ce92c56'/>
<id>00c7b91f9103fa8bc38ef294f097160c2ce92c56</id>
<content type='text'>
http://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20211025T093004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20211025T093004Z/ruby/test/ruby/test_marshal.rb:925: warning: assigned but unused variable - objects
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20211025T093004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20211025T093004Z/ruby/test/ruby/test_marshal.rb:925: warning: assigned but unused variable - objects
```
</pre>
</div>
</content>
</entry>
<entry>
<title>marshal.c Marshal.load accepts a freeze: true option.</title>
<updated>2021-10-05T16:34:56+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-09-18T13:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa'/>
<id>afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa</id>
<content type='text'>
Fixes [Feature #18148]

When set, all the loaded objects are returned as frozen.

If a proc is provided, it is called with the objects already frozen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Feature #18148]

When set, all the loaded objects are returned as frozen.

If a proc is provided, it is called with the objects already frozen.
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore Hash#compare_by_identity mode [Bug #18171]</title>
<updated>2021-10-02T02:43:35+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-22T16:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d08721465850a6e6954b43bbfebe2ed5a7256dec'/>
<id>d08721465850a6e6954b43bbfebe2ed5a7256dec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>marshal.c: don't call the proc with partially initialized objects. (#4866)</title>
<updated>2021-09-30T14:50:31+00:00</updated>
<author>
<name>Jean byroot Boussier</name>
<email>jean.boussier+github@shopify.com</email>
</author>
<published>2021-09-30T14:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=529fc204af84f825f98f83c34b004acbaa802615'/>
<id>529fc204af84f825f98f83c34b004acbaa802615</id>
<content type='text'>
For cyclic objects, it requires to keep a st_table of the partially
initialized objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For cyclic objects, it requires to keep a st_table of the partially
initialized objects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revive the test using US-ASCII incompatible symbol</title>
<updated>2021-09-23T13:04:19+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-23T10:33:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=96c8964e0e65bb6e232f1da6b4725404cf4f4540'/>
<id>96c8964e0e65bb6e232f1da6b4725404cf4f4540</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prohibit invalid encoding symbols [Bug #18184]</title>
<updated>2021-09-23T07:02:44+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-23T07:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=49af9012a20a824542cf588e55e5488895553e09'/>
<id>49af9012a20a824542cf588e55e5488895553e09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check the encoding of `ruby2_keywords_flag` [Bug #18184]</title>
<updated>2021-09-22T15:07:17+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-22T15:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=552728a23aeab0df598b356b19a573259e297d14'/>
<id>552728a23aeab0df598b356b19a573259e297d14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check the entire name as `ruby2_keywords_flag` [Bug #18184]</title>
<updated>2021-09-22T10:04:55+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-22T09:57:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c0230b05d0978958f89434c84ddd9c82419c1a5'/>
<id>7c0230b05d0978958f89434c84ddd9c82419c1a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
