-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another attempt to improve the search performance #5644
Conversation
Co-authored-by: Hsiao-nan Cheung <[email protected]>
Co-authored-by: Hsiao-nan Cheung <[email protected]>
Co-authored-by: Hsiao-nan Cheung <[email protected]>
Co-authored-by: Hsiao-nan Cheung <[email protected]>
Co-authored-by: Hsiao-nan Cheung <[email protected]>
Co-authored-by: Hsiao-nan Cheung <[email protected]>
This reverts commit d3d6b01.
See conversation in #5324 |
would love to see this merged as this drastically reduces search time 👍 |
@r15ch13 LGTM - just one small hitch - this is not a bug fix but a performance improvement (in the Changelog) |
…ler#5644) * perf(search): improve local search performance * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Update libexec/scoop-search.ps1 Co-authored-by: Hsiao-nan Cheung <[email protected]> * Added [JsonDocument]::Parse for testing * Fix array length check * Used wrong function * Add fallback function for PowerShell 5 * Check for System.Text.Json in Assemblies instead * Show help output * Revert "Show help output" This reverts commit d3d6b01. * Update CHANGELOG.md --------- Co-authored-by: Hsiao-nan Cheung <[email protected]> Co-authored-by: Rashil Gandhi <[email protected]>
With this now merged, is there an ETA when this will arrive in main? I notice that there hasn't been an update for nearly a year. |
You can use the
|
Description
This is another attempt to improve the local search performance.
manifest()
function$apps
$list
directly[System.IO.File]::ReadAllText()
instead ofGet-Content
Motivation and Context
Closes #4239
Relates to #4818
How Has This Been Tested?
Checklist:
develop
branch.