Skip to content
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

Stop reinstantiating Fuse on keypress #71

Merged
merged 1 commit into from
May 15, 2023
Merged

Conversation

chrskerr
Copy link
Contributor

Memoising the value of fuse based off of the search list to prevent reinstantiating it on search keypress.

searchList will never change, so this will reduce work needed to do while searching big post lists.

Memoise the value of fuse based off of the search list to prevent reinstantiating it on search keypress.
@satnaing
Copy link
Owner

LGTM!
Thanks for your contribution.

@satnaing satnaing merged commit 99b2724 into satnaing:main May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants