rubygems/rubygems — pull request #1095 by tenderlove (2014-12-06 01:50:58+00:00)
Title: speed up require by skipping non-activated specs

spec activation always adds the spec to the `loaded_specs` hash. rather
than looping over every spec on the system and testing whether or not
that spec is activated, just loop over the list of activated specs.
The list of activated specs should be much smaller and we can remove the
`activated?` test because we know they are activated from the fact that
they're in the list.

@fishermanchips can you try this out?