ruby/lib/bundler/source
David Rodríguez 4df7c3946a [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles
If Gemfile has a lot of dependencies, we have an optimization that uses
the full index in that case, assuming it's going to be faster.

I think this is an old optimization that predates compact index API
times, I believe we no longer need it these days.

Also, since a few releases ago we check for circular dependencies when
resolving by looping through all versions of each name and removing
those that have circular dependencies that would trip up the resolver.

This loop becomes actually very slow when full indexes are used because
to find dependencies of a gemspec, we need to explicitly fetch the
marshaled gemspec (`gemspec.rz` endpoint) for it, so the optimization
has the opposite effect of making things very slow.

2f46289bd3
2023-04-07 13:53:00 +00:00
..
git When running bundle lock --update <name>, checkout locked revision of unrelated git sources directly 2023-03-17 18:50:55 +09:00
path Merge 16c3535413 2022-09-05 14:37:12 +09:00
rubygems Merge bundler-2.2.0.rc.2 2020-10-15 17:19:02 +09:00
gemspec.rb
git.rb Normalize git sources 2023-03-17 18:50:55 +09:00
metadata.rb Migrate our resolver engine to PubGrub 2022-11-12 07:40:31 +09:00
path.rb Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
rubygems.rb [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles 2023-04-07 13:53:00 +00:00
rubygems_aggregate.rb [rubygems/rubygems] Improve sources representation 2021-12-03 20:00:50 +09:00