Optimize codebase indexing
Description
The current RAG service implementation handles codebase indexing, but there's room for optimization to improve performance and efficiency.
Potential improvements
- Optimize indexing algorithms for large codebases
- Implement intelligent chunking strategies for code files
- Add incremental indexing to avoid re-indexing unchanged files
- Improve parallel processing of files during indexing
- Add progress reporting for long-running indexing operations
- Optimize vector storage and retrieval mechanisms
- Reduce memory usage during indexing operations
Benefits
- Faster response times when using RAG features
- Reduced system resource usage
- Better handling of large projects
- Improved user experience with indexing status visibility
This issue was automatically created in avante.nvim by the GitHub MCP server. 😁
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
@yetone could you explain how cursor handles codebase indexing? It clearly builds some kind of index for navigation, but does it store these indexes purely in memory, or are they persisted to disk somewhere? If saved locally, where exactly are these index files kept?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.