• 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
..
downloader Loading commit data...
external_sources Loading commit data...
generator Loading commit data...
installer Loading commit data...
sandbox Loading commit data...
target Loading commit data...
user_interface Loading commit data...
command_spec.rb Loading commit data...
config_spec.rb Loading commit data...
executable_spec.rb Loading commit data...
external_sources_spec.rb Loading commit data...
hooks_manager_spec.rb Loading commit data...
installer_spec.rb Loading commit data...
library_spec.rb Loading commit data...
project_spec.rb Loading commit data...
resolver_spec.rb Loading commit data...
sandbox_spec.rb Loading commit data...
sources_manager_spec.rb Loading commit data...
target_spec.rb Loading commit data...
user_interface_spec.rb Loading commit data...
validator_spec.rb Loading commit data...