diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-01-07 17:46:34 +0000 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-01-17 21:52:21 +0100 |
commit | d9aa7eacc6b566412598ccf32d432037b4b8a434 (patch) | |
tree | 8ab801d331fef8ebc5e80e5840a0c848e52031b0 /Userland/Applications/Browser | |
parent | 634d1e0197531e924de71f4f5cb8b7b2357ac578 (diff) | |
download | serenity-d9aa7eacc6b566412598ccf32d432037b4b8a434.zip |
Assistant: Cache results for each query by provider
Previously, results were cached for each query in a single list.
The majority of CPU time was spent determining which items in the
cache had been seen previously. This commit removes the need to
check previous results by holding a separate list of results for each
provider type.
This makes Assistant feel much more responsive to user input,
especially when the filesystem has a lot of files.
Diffstat (limited to 'Userland/Applications/Browser')
0 files changed, 0 insertions, 0 deletions