rust-cab icon indicating copy to clipboard operation
rust-cab copied to clipboard

Reuse folder reader across multiple files

Open gemdude46 opened this issue 9 months ago • 0 comments

Currently, a new folder reader is created every read_file. This requires decompressing all prior files to access the new files contents. As a result, extracting the full cabinet is O(n²) on number of files, which is a problem in larger archives. It would be nice if the last folder reader could be cached and reused if possible.

gemdude46 avatar Apr 28 '25 03:04 gemdude46