mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
- Added a `children` field to the `PrefetchCache` structure to store sorted child paths for directories, optimizing directory read operations. - Updated the `read_dir` method in `VfsInner` to utilize the new `children` cache, improving performance by reducing backend calls for cached directories. - Refactored the `prefetch_project_files` function to populate the `children` map during prefetching, enhancing the efficiency of path collection. - Adjusted tests to accommodate the new `children` field in `PrefetchCache`, ensuring comprehensive coverage of the updated functionality. These changes aim to improve the performance and reliability of the VFS by refining the prefetching mechanism and enhancing directory handling. |
||
|---|---|---|
| .. | ||
| memofs | ||
| rojo-insta-ext | ||