<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/util/pm_integer.c, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Shrink `pm_integer_t` (32 bytes → 24)</title>
<updated>2024-08-26T12:38:58+00:00</updated>
<author>
<name>Alexander Momchilov</name>
<email>alexander.momchilov@shopify.com</email>
</author>
<published>2024-08-23T20:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2b0b68fa464c3c51b35243449c9d9801752be455'/>
<id>2b0b68fa464c3c51b35243449c9d9801752be455</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Typo fix: poitive =&gt; positive</title>
<updated>2024-05-28T15:28:02+00:00</updated>
<author>
<name>Herwin</name>
<email>herwinw@users.noreply.github.com</email>
</author>
<published>2024-05-28T14:02:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=61e2916d1c297eeabcfeba4815cececff20db1dd'/>
<id>61e2916d1c297eeabcfeba4815cececff20db1dd</id>
<content type='text'>
https://github.com/ruby/prism/commit/d13a05252d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/d13a05252d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Remove various unused memsize infra</title>
<updated>2024-05-24T17:19:34+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-24T15:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b04c959621562de18552aa1a002b52f311a7185e'/>
<id>b04c959621562de18552aa1a002b52f311a7185e</id>
<content type='text'>
https://github.com/ruby/prism/commit/283938ed1f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/283938ed1f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Remove Debug::integer_parse</title>
<updated>2024-05-24T17:19:33+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-24T15:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b8681c2e3723939e0a43354671208c70960d3d02'/>
<id>b8681c2e3723939e0a43354671208c70960d3d02</id>
<content type='text'>
https://github.com/ruby/prism/commit/14e397598b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/14e397598b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Reconfigure rationals</title>
<updated>2024-05-21T18:27:46+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-08T19:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=89efb94fec9c78caab7ec4079bfe9e3f4e56a9a4'/>
<id>89efb94fec9c78caab7ec4079bfe9e3f4e56a9a4</id>
<content type='text'>
This eliminates the subnode on RationalNode and replaces it with two
integer fields, which represent the ratio for the rational. It also
reduces those two integers if they both fit into 32 bits.

Importantly, this PR does not implement bignum reduction. That's something
I'd like to consider for the future, but it's simple enough for now to
leave them unreduced, which makes it more useful than it used to be.

https://github.com/ruby/prism/commit/86e06c7068
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This eliminates the subnode on RationalNode and replaces it with two
integer fields, which represent the ratio for the rational. It also
reduces those two integers if they both fit into 32 bits.

Importantly, this PR does not implement bignum reduction. That's something
I'd like to consider for the future, but it's simple enough for now to
leave them unreduced, which makes it more useful than it used to be.

https://github.com/ruby/prism/commit/86e06c7068
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix recursive multiply when values are switched in karatsuba_multiply</title>
<updated>2024-04-23T18:17:29+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-23T18:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0defbc11a531cb6320dee3995be584fd62053a5e'/>
<id>0defbc11a531cb6320dee3995be584fd62053a5e</id>
<content type='text'>
https://github.com/ruby/prism/commit/4dc6ea960d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/4dc6ea960d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up more clang-analyzer failures</title>
<updated>2024-04-17T01:15:21+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-17T01:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f34409bf8782481deabec6c577abd66373134af9'/>
<id>f34409bf8782481deabec6c577abd66373134af9</id>
<content type='text'>
https://github.com/ruby/prism/commit/f9a1abbc64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f9a1abbc64
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up clang-analyzer violations</title>
<updated>2024-04-16T14:30:34+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-04-16T14:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=646a00892e80a106c1166ea529b18b780982942d'/>
<id>646a00892e80a106c1166ea529b18b780982942d</id>
<content type='text'>
https://github.com/ruby/prism/commit/259aef2acd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/259aef2acd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Provide more documentation for pm_integer_parse_digit_values</title>
<updated>2024-03-11T15:12:14+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-03-11T15:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6242a82c8f4cc6b68ba16d86aa22fd770e8ad195'/>
<id>6242a82c8f4cc6b68ba16d86aa22fd770e8ad195</id>
<content type='text'>
https://github.com/ruby/prism/commit/c3fcb5031f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/c3fcb5031f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Stop crashing on invalid integers</title>
<updated>2024-03-11T15:11:42+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-03-11T15:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2dfa95a27207e58e06ffa88b7c99bf3af95c6c46'/>
<id>2dfa95a27207e58e06ffa88b7c99bf3af95c6c46</id>
<content type='text'>
https://github.com/ruby/prism/commit/afac2d6646
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/afac2d6646
</pre>
</div>
</content>
</entry>
</feed>
