<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/yaml_serializer.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>[rubygems/rubygems] Fix line comment issue for map</title>
<updated>2024-07-19T03:03:16+00:00</updated>
<author>
<name>alpha0x00</name>
<email>leetiankai@gmail.com</email>
</author>
<published>2024-07-14T14:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3222c672628dba20367475cfaf832b82b2cc3d4c'/>
<id>3222c672628dba20367475cfaf832b82b2cc3d4c</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7ca06e139b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7ca06e139b
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Move Bundler settings specific logic to Bundler</title>
<updated>2024-06-06T18:53:29+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-05-29T15:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82b68bc3583d2446c7bc28934a96903d634c6101'/>
<id>82b68bc3583d2446c7bc28934a96903d634c6101</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7d1e8be2ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7d1e8be2ce
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Keep compatibility of past versions</title>
<updated>2024-01-24T09:11:53+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-01-23T11:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=723deec9cf84342332896e48f50b4bf519492652'/>
<id>723deec9cf84342332896e48f50b4bf519492652</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/54b67fb251
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/54b67fb251
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Skip to load commented out words</title>
<updated>2024-01-24T09:11:53+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-01-23T10:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1018dca09a55e7b21d701cfee0171b44ba26fe4a'/>
<id>1018dca09a55e7b21d701cfee0171b44ba26fe4a</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/e6a9148ba2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/e6a9148ba2
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Prefer String#split with block in Gem::YAMLSerializer#load</title>
<updated>2023-12-05T05:28:39+00:00</updated>
<author>
<name>Mau Magnaguagno</name>
<email>maumagnaguagno@gmail.com</email>
</author>
<published>2023-11-30T03:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=57178a9720ebe5c86e2fbd7d41d9f58f049133c3'/>
<id>57178a9720ebe5c86e2fbd7d41d9f58f049133c3</id>
<content type='text'>
String#split supports a block since Ruby 2.6, avoiding intermediate array.

https://github.com/rubygems/rubygems/commit/69cdf9e9d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
String#split supports a block since Ruby 2.6, avoiding intermediate array.

https://github.com/rubygems/rubygems/commit/69cdf9e9d4
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Let RuboCop target Ruby 3.0</title>
<updated>2023-11-13T02:06:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2023-10-26T20:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a4d80eee179cf4d0b126aa8c61888b7e08795a85'/>
<id>a4d80eee179cf4d0b126aa8c61888b7e08795a85</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/70243b1d72
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/70243b1d72
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Handle empty array</title>
<updated>2023-10-24T16:31:43+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-10-24T07:22:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5c4978c11c4ea9569d5d99a86936fbef0ab7fa52'/>
<id>5c4978c11c4ea9569d5d99a86936fbef0ab7fa52</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7c0afdd9af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7c0afdd9af
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Stop allocating the same settings keys repeatedly</title>
<updated>2023-09-15T17:54:01+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-09-15T02:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c423d6e0e48bd8a94548ff7a6275d93ae770f9d1'/>
<id>c423d6e0e48bd8a94548ff7a6275d93ae770f9d1</id>
<content type='text'>
Running `bundle update --bundler` on a rails app locally:

```
==&gt; memprof.after.txt &lt;==
Total allocated: 301.90 kB (3794 objects)
Total retained:  73.24 kB (698 objects)

==&gt; memprof.before.txt &lt;==
Total allocated: 14.47 MB (196378 objects)
Total retained:  25.93 kB (202 objects)
```

So for a slight increase in retained memory (all keys are now retained),
we go from about 200k allocations in the settings file to under 4k

https://github.com/rubygems/rubygems/commit/e64debb6ae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running `bundle update --bundler` on a rails app locally:

```
==&gt; memprof.after.txt &lt;==
Total allocated: 301.90 kB (3794 objects)
Total retained:  73.24 kB (698 objects)

==&gt; memprof.before.txt &lt;==
Total allocated: 14.47 MB (196378 objects)
Total retained:  25.93 kB (202 objects)
```

So for a slight increase in retained memory (all keys are now retained),
we go from about 200k allocations in the settings file to under 4k

https://github.com/rubygems/rubygems/commit/e64debb6ae
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Copy YAMLSerializer from Bundler</title>
<updated>2023-04-19T06:56:23+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-04-18T10:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=40d1a0004041f60301c8090ab8955024ebc35cc2'/>
<id>40d1a0004041f60301c8090ab8955024ebc35cc2</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6a97346708
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6a97346708
</pre>
</div>
</content>
</entry>
</feed>
