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

Optimize search while typing #29

Open
po5 opened this issue Oct 28, 2023 · 0 comments
Open

Optimize search while typing #29

po5 opened this issue Oct 28, 2023 · 0 comments

Comments

@po5
Copy link
Owner

po5 commented Oct 28, 2023

Right now the cursor gets reset on every search update, and we parse everything over again.

My solution would be similar to page state, storing a list of known matching entries for each query, and the cursor position since we may have to parse extra entries to get a full page of results. Will require some changes to fakeio.

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

No branches or pull requests

1 participant