rojo/.cursor
Joe 1ffed1212d Add prefetch cache for VFS to optimize file reads
- Introduced a `PrefetchCache` structure to store pre-read file contents and canonical paths, enhancing the speed of initial reads during snapshot building.
- Implemented parallel file reading using `rayon` and `walkdir` to populate the cache efficiently.
- Updated the `VfsInner` struct to include the prefetch cache and modified read methods to utilize it, reducing I/O operations.
- Added functions to set and clear the prefetch cache in the `Vfs` API, improving memory management during live operations.
- Enhanced tests to validate the functionality of the prefetch cache, ensuring correct behavior during file reads and canonicalization.

These changes aim to significantly improve the performance of the VFS by minimizing file access times during initial operations.
2026-02-19 02:04:15 -06:00
..
commands Update audit documentation and rules for live syncback enhancements 2026-02-19 00:22:49 -06:00
logs Add .gitignore for logs and skip directory WRITE events on Windows 2026-02-14 18:23:11 -06:00
plans Add prefetch cache for VFS to optimize file reads 2026-02-19 02:04:15 -06:00
prompts Add support for Ambiguous Path Handling 2026-02-17 01:45:12 -06:00
rules Update audit documentation and rules for live syncback enhancements 2026-02-19 00:22:49 -06:00