_ReorderProfilesToMatchUserSettingsOrder
could almost certainly not be O(N^2)
#2723
Labels
Area-CodeHealth
Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Help Wanted
We encourage anyone to jump in on these.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-3
A description (P3)
Product-Terminal
The new Windows Terminal.
Milestone
Follow up to #2603
In #2515, we added a function that reorders profiles to match the order in the user's
profiles.json
. Unfortunately, it runs in O(N^2), and it almost certainly can not. While we don't believe that the number of profiles is ever high enough that this n^2 loop is ever limiting, it could always be better.This issue represents re-writing that method to be better.
The text was updated successfully, but these errors were encountered: