[ruby-core:113255] [Ruby master Bug#19246] Rebuilding the loaded feature index much slower in Ruby 3.1