WinFsp-MemFs-Extended icon indicating copy to clipboard operation
WinFsp-MemFs-Extended copied to clipboard

Improve performance with intelligent allocations

Open Ceiridge opened this issue 1 year ago • 2 comments

Performance can be improved by dynamically allocating a rather big block/amount of sectors while a file is being written to. Once the file is fully written, the spare sectors can be deallocated. This is similar to ArrayLists, in most cases without the disadvantage of wasting memory. Also, the sectors can be of dynamic size by storing a pointer to the next sector directly next to the data.

Ceiridge avatar Nov 30 '22 18:11 Ceiridge