Describe the bug:
When using the "@" symbol to search for files in large projects, the search functionality is extremely slow and unresponsive. This significantly impacts the development experience and productivity.
Expected behavior:
The file search should be responsive and provide quick results even in large codebases, with proper debouncing to avoid excessive processing on every keystroke.
Actual behavior:
- Searching for files with "@" in large projects is very slow
- The search seems to trigger on every character input without proper debouncing
- UI becomes unresponsive during search operations
- Performance degrades significantly as project size increases
Additional context:
It appears that the file search functionality may not be implementing proper debouncing, causing it to execute search operations on every keystroke. In large projects, this results in multiple rapid-fire search requests that create performance bottlenecks and make the feature unusable.
Consider implementing:
- Proper debouncing
- Optimizing file search algorithms for large codebases
- Caching mechanisms to improve response times
Environment:
- OS: Linux
- OpenCode Version: 0.11.3
Describe the bug:
When using the "@" symbol to search for files in large projects, the search functionality is extremely slow and unresponsive. This significantly impacts the development experience and productivity.
Expected behavior:
The file search should be responsive and provide quick results even in large codebases, with proper debouncing to avoid excessive processing on every keystroke.
Actual behavior:
Additional context:
It appears that the file search functionality may not be implementing proper debouncing, causing it to execute search operations on every keystroke. In large projects, this results in multiple rapid-fire search requests that create performance bottlenecks and make the feature unusable.
Consider implementing:
Environment: