<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/safe_marshal/elements.rb, 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>Merge RubyGems-3.5.3 and Bundler-2.5.3</title>
<updated>2023-12-23T00:34:26+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-23T00:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7d7a84e99fca816ec352c95965687db240fb56d3'/>
<id>7d7a84e99fca816ec352c95965687db240fb56d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Aggressively optimize allocations in SafeMarshal</title>
<updated>2023-09-21T07:40:58+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-09-21T04:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a423d4c4e84bc024d5dabe86227c1f0b509a898'/>
<id>0a423d4c4e84bc024d5dabe86227c1f0b509a898</id>
<content type='text'>
Reduces allocations in a bundle install --full-index by an order of magnitude

Main wins are (a) getting rid of exessive string allocations for exception message stack

(b) Avoiding hash allocations caused by kwargs for #initialize

(c) avoid using unpack to do bit math, its easy enough to do by hand

(d) special case the most common elements so they can be read without an allocation

(e) avoid string allocations every time a symbol-&gt;string lookup is done by using symbol#name

https://github.com/rubygems/rubygems/commit/7d2ee51402
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduces allocations in a bundle install --full-index by an order of magnitude

Main wins are (a) getting rid of exessive string allocations for exception message stack

(b) Avoiding hash allocations caused by kwargs for #initialize

(c) avoid using unpack to do bit math, its easy enough to do by hand

(d) special case the most common elements so they can be read without an allocation

(e) avoid string allocations every time a symbol-&gt;string lookup is done by using symbol#name

https://github.com/rubygems/rubygems/commit/7d2ee51402
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add a Marshal.load replacement that walks an AST to safely load permitted classes/symbols</title>
<updated>2023-09-20T02:02:58+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-18T20:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d182d83ce929cd322f4a6fd134cd31be950eca77'/>
<id>d182d83ce929cd322f4a6fd134cd31be950eca77</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7e4478fe73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7e4478fe73
</pre>
</div>
</content>
</entry>
</feed>
