xoofx / zio

A cross-platform abstract/virtual filesystem framework with many built-ins filesystems for .NET
BSD 2-Clause "Simplified" License
827 stars 61 forks source link

Optimize cross-filesystem operations #94

Closed agocke closed 4 months ago

agocke commented 4 months ago

Adds a new function to that resolves a path through all underlying filesystems. Allows cross-file system operations to resolve to the final FS and call operations directly on that file system.

Fixes #90

xoofx commented 4 months ago

Very cool, thanks!

agocke commented 4 months ago

FYI in my measurements this cut down file I/o time by ~half. The fact that it wasn’t more seems mostly due to fundamental inefficiency in dotnet file operations