diff options
author | Homu <homu@barosl.com> | 2016-06-07 11:18:28 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-06-07 11:18:28 +0900 |
commit | 8d7b671909d9b75a9e1e64889f6ba45b302e3940 (patch) | |
tree | 957ba8c57e5819670694c021d824e5f98f007110 /lib/bundler/definition.rb | |
parent | 117b98246e4c442a3899fbfe52949cfd5112c8d9 (diff) | |
parent | dd652431e48f31f782c00013ad0f48388c0fffd0 (diff) | |
download | bundler-8d7b671909d9b75a9e1e64889f6ba45b302e3940.tar.gz |
Auto merge of #4580 - bundler:seg-resolver-performance, r=indirect
Improve resolver performance
Some not insignificant improvements found while developing https://github.com/CocoaPods/Molinillo/pull/40, which I absolutely cannot wait to 🚢
\c @indirect
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 366b51b4a7..02f8ee0957 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -224,7 +224,7 @@ module Bundler source.dependency_names = dependency_names.dup idx.add_source source.specs dependency_names -= pinned_spec_names(source.specs) - dependency_names.push(*source.unmet_deps).uniq! + dependency_names.concat(source.unmet_deps).uniq! end end end |