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

Performance improvement: cancel current and stacked searches #28

Open
bakks opened this issue Jan 26, 2024 · 1 comment
Open

Performance improvement: cancel current and stacked searches #28

bakks opened this issue Jan 26, 2024 · 1 comment

Comments

@bakks
Copy link

bakks commented Jan 26, 2024

👋 When I run cs in a large file tree such that there is latency in the search, the search will start while I'm still typing. The current search keeps going but then the searches seem to stack, so that while I'm waiting for "full search query" it will spend time on the intermediate things I've typed, like "full s" and "full sear". It would be nice if the current search and any stacked searches were cancelled if there is a new search in the input buffer.

@bakks bakks changed the title Performance improvement Performance improvement: cancel current and stacked searches Jan 26, 2024
@boyter
Copy link
Owner

boyter commented Jan 28, 2024

This is one of those things I did have in there at one point but kept running into deadlock issues. Its something I want to put back in. Once I get the new UI done I might revisit this properly.

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

2 participants