<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/resolver/candidate.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>[rubygems/rubygems] Consistently use "lockfile" over "lock file"</title>
<updated>2025-03-24T04:25:07+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-03-12T17:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb1b5877a7b2dba79c81275f32b7cc5485323540'/>
<id>bb1b5877a7b2dba79c81275f32b7cc5485323540</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/e891be9197
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/e891be9197
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove array allocation from Candidate#&lt;=&gt;</title>
<updated>2025-03-13T01:24:21+00:00</updated>
<author>
<name>Hartley McGuire</name>
<email>skipkayhil@gmail.com</email>
</author>
<published>2025-03-11T21:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8cc85dc00feef7fc7846ad15df2778f58716c169'/>
<id>8cc85dc00feef7fc7846ad15df2778f58716c169</id>
<content type='text'>
In a large application I profiled allocations while running `bundle
update` and found that this method was ~60% of allocations while
resolving (and Candidate#&lt;=&gt; is almost half of the total runtime).

This commit removes the array allocation in Candidate#&lt;=&gt; (and similar
methods since the implementations are so simple). The array is always
the same two elements so they can just be compared directly.

https://github.com/rubygems/rubygems/commit/6a7c411ba7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a large application I profiled allocations while running `bundle
update` and found that this method was ~60% of allocations while
resolving (and Candidate#&lt;=&gt; is almost half of the total runtime).

This commit removes the array allocation in Candidate#&lt;=&gt; (and similar
methods since the implementations are so simple). The array is always
the same two elements so they can just be compared directly.

https://github.com/rubygems/rubygems/commit/6a7c411ba7
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Create LazySpecifications directly with most_specific_locked_platform</title>
<updated>2024-11-26T06:11:05+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-11-13T16:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e15921c69454e700cbff08108c0dad26366112df'/>
<id>e15921c69454e700cbff08108c0dad26366112df</id>
<content type='text'>
So there's no need to pass it around in so many places.

https://github.com/rubygems/rubygems/commit/784ab7481b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So there's no need to pass it around in so many places.

https://github.com/rubygems/rubygems/commit/784ab7481b
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Resolve all platforms directly</title>
<updated>2024-07-09T16:34:08+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-07-04T11:55:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd05191bc35e06f82311fc630c3cc917595e2b71'/>
<id>dd05191bc35e06f82311fc630c3cc917595e2b71</id>
<content type='text'>
Instead of having to do a complete pass after resolve.

To do this, we add to the ruby group all the platform specs with the
same dependencies as the ruby specs.

https://github.com/rubygems/rubygems/commit/e50415f2a6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of having to do a complete pass after resolve.

To do this, we add to the ruby group all the platform specs with the
same dependencies as the ruby specs.

https://github.com/rubygems/rubygems/commit/e50415f2a6
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Instantiate `Resolver::SpecGroup` with explicit priority</title>
<updated>2024-07-09T16:34:07+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-07-03T18:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=086cde1651902abb758184f1eadbbfb367b2fedf'/>
<id>086cde1651902abb758184f1eadbbfb367b2fedf</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/e2c1bc1b6c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/e2c1bc1b6c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix typo</title>
<updated>2024-04-01T15:03:23+00:00</updated>
<author>
<name>David Rodriguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-03-21T15:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3ca0683529a540bf651d5dc94289dc1db79c3338'/>
<id>3ca0683529a540bf651d5dc94289dc1db79c3338</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/0ddf25e5aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/0ddf25e5aa
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems/Bundler master.</title>
<updated>2023-01-31T01:49:08+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-01-31T00:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d3822c9a8aa91151bd040d5635b723ff80bc1886'/>
<id>d3822c9a8aa91151bd040d5635b723ff80bc1886</id>
<content type='text'>
  Pick from https://github.com/rubygems/rubygems/commit/5ace20dbecfeaf09fba5f616193f3cfcff70ba00
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Pick from https://github.com/rubygems/rubygems/commit/5ace20dbecfeaf09fba5f616193f3cfcff70ba00
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems and Bundler master</title>
<updated>2023-01-10T06:53:07+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-01-10T04:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a43f1d90c2b3aed232d5f4ef9dfe226401cf5d81'/>
<id>a43f1d90c2b3aed232d5f4ef9dfe226401cf5d81</id>
<content type='text'>
  from https://github.com/rubygems/rubygems/commit/0635c1423db5d7c461d53bf0c3329bca75de7609
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  from https://github.com/rubygems/rubygems/commit/0635c1423db5d7c461d53bf0c3329bca75de7609
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate our resolver engine to PubGrub</title>
<updated>2022-11-11T22:40:31+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-11-11T21:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a9d51ee9d2b3d0111832e5ea1c8195a16e2f99b'/>
<id>0a9d51ee9d2b3d0111832e5ea1c8195a16e2f99b</id>
<content type='text'>
  https://github.com/rubygems/rubygems/pull/5960

  Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  https://github.com/rubygems/rubygems/pull/5960

  Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
