rust-cab
rust-cab copied to clipboard
Reuse folder reader across multiple files
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.