4. Cache System #1338
Unanswered
pysan3
asked this question in
Internal Development
4. Cache System
#1338
Replies: 1 comment 2 replies
-
I think this is an over optimization, and Nui might already be doing this work to only re-render the changed portion. If you just mean the scanning of the filesystem itself, yes that can be cached so we only re-scan the folders that have changed and make an incremental update to an internal representation of the file system. The code paths used for lazy loading folders could be utilized for this purpose. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
5. Cache System
The current implementation (eg filesystem) will gather file info after
source.navigate
and then render the whole content from top to bottom.I want to experiment if using
uv.new_fs_event
and a coroutine system (eg nvim-nio) might make it possible to pre-calculate the file tree in the background and drastically improve the rendering speed after:Neotree foo bar
is called.Beta Was this translation helpful? Give feedback.
All reactions