summaryrefslogtreecommitdiff
path: root/src/devices/file
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-08-13 17:06:07 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2024-08-13 17:06:07 +1200
commit05326e69658bfcb0e857988bc3ddfa9b2655ec52 (patch)
tree488af51eb33a2b72cde5a6e28b1f4f199b02659b /src/devices/file
parent68f633f6ba35a4fbbae9ed22fc759ce3544f6a0e (diff)
downloadbedrock-pc-05326e69658bfcb0e857988bc3ddfa9b2655ec52.zip
Improve performance of hierarchical file navigation
The most recently closed directory listing is cached instead of being discarded. The next time a directory is to be opened, if the file path is the same as the cached directory, the cached directory listing is used in order to save the entire listing from having to be regenerated. This is expected to result in performance gains on Windows.
Diffstat (limited to 'src/devices/file')
0 files changed, 0 insertions, 0 deletions