Streamable Reading
magnetardev opened this issue · comments
Magnetar commented
To some extent, reading a compressed file should be streamed. Right now the lib loads the entire archive into memory, which is... bad. Obviously some compression formats cannot be streamed, though that isn't as big an issue as buffered read.
In theory, libarchive supports this already, by specifying a custom read function: List contents of Archive with custom read functions