ruby/lib
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.

https://github.com/rubygems/rubygems/commit/2f46289bd3
2023-04-07 13:53:00 +00:00
..
benchmark [ruby/benchmark] Bump version to 0.2.1 2022-12-05 05:15:02 +00:00
bundler [rubygems/rubygems] Remove one fallback to full indexes on big gemfiles 2023-04-07 13:53:00 +00:00
cgi [ruby/cgi] blade is hosted under ruby-lang.org now 2023-01-23 03:41:54 +00:00
csv [ruby/csv] Remove unused @double_quote_character from Parser 2023-02-21 19:31:28 +09:00
delegate [ruby/delegate] gemspec: Drop unused executables directives 2021-10-22 19:48:22 +09:00
did_you_mean [ruby/did_you_mean] Bump version to 1.6.3 2022-12-19 14:59:59 +09:00
drb [ruby/drb] Bump version to 2.1.1 2022-12-05 05:59:33 +00:00
erb [ruby/erb] Version 4.0.2 2022-11-29 04:58:29 +00:00
error_highlight [ruby/error_highlight] Identify which node in `Foo::Bar::Baz` causes a NameError 2023-01-13 08:25:09 +00:00
forwardable [ruby/forwardable] Move `:stopdoc:` directive 2022-03-14 14:44:46 +09:00
getoptlong [ruby/getoptlong] gemspec: Drop executables directives 2021-07-28 13:32:32 +09:00
irb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
logger [ruby/logger] Add Logger#with_level{...} for block-scoped log level. 2023-02-10 01:08:49 +00:00
net [ruby/net-http] typofix 2023-03-31 03:47:56 +00:00
observer Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
open3 [ruby/open3] Bump version to 0.1.2 2022-12-14 05:49:14 +00:00
optparse [ruby/optparse] Add rdoc options 2022-01-12 21:16:01 +09:00
ostruct [ruby/ostruct] Drop unused directives from gemspec (https://github.com/ruby/ostruct/pull/39) 2022-03-07 20:08:29 +09:00
pstore Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
racc Generate parser-text.rb with bcdc058e50 2023-01-12 07:54:39 +09:00
random [DOC] Improve Random::Formatter docs 2022-12-11 18:49:56 +02:00
rdoc [ruby/rdoc] Use `File.binread` 2023-03-31 01:14:34 +00:00
reline Use `em_delete` in `key_delete` (#504) 2023-04-05 08:59:12 +09:00
rinda [ruby/rinda] Bump up rinda version to 0.1.1 2021-10-21 21:02:37 +09:00
ruby_vm/rjit RJIT: Skip a class guard if known to be T_STRING 2023-04-05 00:46:10 -07:00
rubygems [rubygems/rubygems] util/rubocop -A --only Style/FormatString 2023-04-07 05:13:05 +00:00
set [ruby/set] Set#merge does not take keyword arguments as a Hash 2023-02-24 11:48:08 +00:00
singleton Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
syntax_suggest v1.0.4 2023-04-06 15:49:26 +09:00
timeout [ruby/timeout] gemspec: Drop unused directives "executables" 2022-07-14 16:21:25 +09:00
unicode_normalize update Unicode normalization tables to version 15.0.0 2022-12-06 10:11:33 +09:00
uri [ruby/uri] Bump version to 0.12.1 2023-03-28 02:12:22 +00:00
weakref Added dependencies for weakref 2020-12-01 19:48:24 +09:00
yaml Rename YAML::VERSION. It's conflict with Psych::VERSION 2023-04-03 12:43:11 +09:00
English.gemspec [ruby/English] Bump version to 0.7.2 2022-12-14 07:53:51 +00:00
English.rb [ruby/English] Replace HTML5 deprecated tag <tt> with <code> 2023-02-06 05:20:34 +00:00
abbrev.gemspec [ruby/abbrev] Bump version to 0.1.1 2022-12-14 07:38:37 +00:00
abbrev.rb
base64.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
base64.rb [ruby/base64] Expose Base64::VERSION 2023-04-03 02:45:42 +00:00
benchmark.rb [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bundler.rb Revert "Refactor incomplete specs handling" 2023-04-06 13:07:16 +09:00
cgi.rb [ruby/cgi] Bump up 0.3.6 2022-11-28 04:40:26 +00:00
csv.rb [ruby/csv] Use https links instead of http 2023-02-21 19:31:29 +09:00
delegate.rb [ruby/delegate] Bump version to 0.3.0 2022-12-05 05:47:54 +00:00
did_you_mean.rb [ruby/did_you_mean] Keep the deprecated API for another year in case this could break 'bundle install' 2023-01-07 08:47:05 +00:00
drb.rb
erb.gemspec Apply the accidental commits again before Ruby 3.2. 2022-12-26 12:07:42 +09:00
erb.rb [ruby/erb] [DOC] Use indented heredoc 2023-03-21 15:05:29 +00:00
error_highlight.rb Rename error_squiggle to error_highlight 2021-06-29 23:45:49 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb [ruby/fileutils] Bump up v1.7.1 2023-04-03 05:19:00 +00:00
find.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
find.rb [ruby/find] Expose Find::VERSION 2023-04-03 02:40:37 +00:00
forwardable.rb [ruby/forwardable] Bump version to 1.3.3 2022-12-05 06:15:38 +00:00
getoptlong.rb [ruby/getoptlong] Bump version to 0.2.0 2022-12-05 06:19:25 +00:00
ipaddr.gemspec Support directory layout of ruby/ruby repository 2022-02-10 17:18:05 +09:00
ipaddr.rb [ruby/ipaddr] Bump version to 1.2.5 2022-12-05 06:32:03 +00:00
irb.rb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
logger.rb [ruby/logger] Add Logger#with_level{...} for block-scoped log level. 2023-02-10 01:08:49 +00:00
mkmf.rb mkmf.rb: Refine message from `pkg_config` 2023-01-09 21:44:15 +09:00
mutex_m.gemspec [ruby/mutex_m] Drop to support Ruby 2.4 2023-01-12 05:38:31 +00:00
mutex_m.rb [ruby/mutex_m] Avoid anonymous eval 2023-01-12 05:41:59 +00:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec [ruby/open-uri] Bump version to 0.3.0 2022-12-05 07:14:06 +00:00
open-uri.rb Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
open3.rb [ruby/open3] Update to match JRuby 9.4 2021-12-09 19:28:54 +09:00
optionparser.rb
optparse.rb [ruby/optparse] Document requires needed for Date/DateTime/Time/URI/Shellwords support 2023-04-04 23:43:58 +00:00
ostruct.rb [ruby/ostruct] v0.5.5 2022-04-01 00:18:36 +09:00
pp.gemspec [ruby/pp] Bump version to 0.4.0 2022-12-05 07:35:19 +00:00
pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
prettyprint.gemspec [ruby/prettyprint] Bump up prettyprint version to 0.1.1 2021-10-21 21:05:39 +09:00
prettyprint.rb
pstore.rb [ruby/pstore] Remove (newly unneeded) remarks about aliases 2023-02-19 23:07:33 +00:00
racc.rb
rdoc.rb [ruby/rdoc] Relative loading for easier development (https://github.com/ruby/rdoc/pull/821) 2022-02-12 15:06:06 +09:00
readline.gemspec [ruby/readline] Bump version to 0.0.3 2021-12-24 17:54:09 +09:00
readline.rb [ruby/readline] Suppress constant redefinition warning 2021-11-29 18:50:27 +09:00
reline.rb [ruby/reline] Fix the cause of test_yamatanooroti randomly failing 2023-02-27 08:44:02 +00:00
resolv-replace.gemspec [ruby/resolv-replace] Bump version to 0.1.1 2022-12-14 17:42:15 +09:00
resolv-replace.rb
resolv.gemspec [ruby/resolv] Bump version to 0.2.2 2022-12-05 07:49:03 +00:00
resolv.rb [ruby/resolv] Support more characters in link local addresses 2022-01-12 10:49:57 +09:00
ruby2_keywords.gemspec Adjust the release version of ruby2_keywords 2021-07-16 13:50:15 +09:00
rubygems.rb [rubygems/rubygems] util/rubocop -A --only Style/FormatString 2023-04-07 05:13:05 +00:00
securerandom.gemspec [ruby/securerandom] Bump version to 0.2.2 2022-12-14 08:48:38 +00:00
securerandom.rb lib/securerandom.rb: Fix the check of availability of Random.urandom 2022-02-16 16:32:28 +09:00
set.rb [ruby/set] Set#merge does not take keyword arguments as a Hash 2023-02-24 11:48:08 +00:00
shellwords.gemspec Promote shellwords to default gems 2020-09-10 18:56:17 +09:00
shellwords.rb Fix the ArgumentError message in shellsplit 2020-06-16 23:23:13 +09:00
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
syntax_suggest.rb Sync SyntaxSuggest 2022-08-19 10:02:24 +09:00
tempfile.gemspec [ruby/tempfile] Bump version to 0.1.3 2022-12-14 05:35:48 +00:00
tempfile.rb [ruby/tempfile] Fix inconsistency in doc of Tempfile.create 2023-02-27 02:29:06 +00:00
time.gemspec [ruby/time] Update required ruby version 2023-03-23 11:45:58 +00:00
time.rb [ruby/time] Make RFC2822 regexp linear 2023-03-30 10:44:39 +00:00
timeout.rb [ruby/timeout] bump up 0.3.2 2023-02-16 00:57:08 +00:00
tmpdir.gemspec [ruby/tmpdir] Bump version to 0.1.3 2022-12-05 08:15:11 +00:00
tmpdir.rb [ruby/tmpdir] Ignore empty environment variables 2022-10-25 07:54:40 +00:00
tsort.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
tsort.rb [ruby/tsort] Expose TSort::VERSION 2023-04-03 02:41:44 +00:00
un.gemspec [ruby/un] Bump version to 0.2.1 2022-12-05 08:18:33 +00:00
un.rb [ruby/un] wait_writable: close opened file 2022-11-30 10:09:17 +00:00
uri.rb [ruby/uri] Feat: Support WSS 2022-04-22 11:59:54 +09:00
weakref.rb [ruby/weakref] Bump version to 0.1.2 2022-12-14 06:16:29 +00:00
yaml.rb Rename YAML::VERSION. It's conflict with Psych::VERSION 2023-04-03 12:43:11 +09:00