-
Muhammed Yavuz Nuzumlali authored
- Previous implementation was having the drawback of traversing and performing `gsub` on all index strings for each pod specification. - New implementation stores words as keys and list of pods containing corresponding word inside their specification as the values for corresponding hash keys. Therefore, while searching for a query, we only need to check if query is matched with any key in index hash, if so, we will add corresponding list of spec names to a Set object. Resulted Set object gives us the search result. Using this policy, sources manager can perform a faster search operation.
9952a849
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cocoapods-integration-specs @ 0966bef0 | ||
| fixtures | ||
| functional | ||
| integration | ||
| spec_helper | ||
| unit | ||
| integration.rb | ||
| spec_helper.rb |