• Muhammed Yavuz Nuzumlali's avatar
    Changes search index format to fasten `pod search --full` command. · 9952a849
    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
..
command.rb Loading commit data...
fixture.rb Loading commit data...
pre_flight.rb Loading commit data...
temporary_cache.rb Loading commit data...
temporary_repos.rb Loading commit data...
user_interface.rb Loading commit data...