This PR unblocks the work to use native-fuzzy to improve the filtering performance by mitigating one of its concerns.
Basically, before this PR the UI was blocked by the execution of the setItems() method every time the fuzzy finder was shown (and it delayed its appearance in the UI). This was not a big problem before because the setItems() method used to be quite fast, but with the addition of native-fuzzy we need to do more expensive things here (we need to serialize and pass the whole list of items to the native-fuzzy).
Alternate Designs
N/A
Benefits
Unblocking a big performance improvement.
Less work done every time the fuzzy finder is opened
Description of the Change
This PR unblocks the work to use
native-fuzzy
to improve the filtering performance by mitigating one of its concerns.Basically, before this PR the UI was blocked by the execution of the
setItems()
method every time the fuzzy finder was shown (and it delayed its appearance in the UI). This was not a big problem before because thesetItems()
method used to be quite fast, but with the addition ofnative-fuzzy
we need to do more expensive things here (we need to serialize and pass the whole list of items to thenative-fuzzy
).Alternate Designs
N/A
Benefits
Possible Drawbacks
N/A
Applicable Issues
https://github.com/atom/fuzzy-finder/issues/370