Updated README

This commit is contained in:
Caleb Gardner
2023-04-17 10:33:27 -05:00
parent d2c72f9464
commit 7d16990277
+4 -8
View File
@@ -20,16 +20,12 @@ Thanks also to [distri's squashfs library](https://github.com/distr1/distri/tree
## Issues ## Issues
* Larger, more complex archives have significant issues when doing a full extraction. * Significantly slower then `unsquashfs` when extracting folders (about 5 ~ 7 times slower on a ~100MB archive using zstd compression)
* Seems to be mostly a problem with archives with many deep file trees.
* It seems to not only take exponentially longer per nested folder, but also will eat all your system's memory as it does so.
* Observed when tested Arch Linux's live iso's airootfs.sfs.
* Accessing files / folders without extracting is NOT be effected.
* Significantly slower then `unsquashfs` (about 5 ~ 7 times slower on a ~100MB archive using zstd compression)
* This seems to be related to above along with the general optimization of `unsquashfs` and it's compression libraries. * This seems to be related to above along with the general optimization of `unsquashfs` and it's compression libraries.
* The larger the file's tree, the slower the extraction will be. Arch Linux's Live USB's airootfs.sfs takes ~35x longer for a full extraction.
## Recommendations on Usage ## Recommendations on Usage
Due to the above issue and performance consideration, this library should only be used to access files within the archive without extraction, or to mount it via Fuse. Due to the above performance consideration, this library should only be used to access files within the archive without extraction, or to mount it via Fuse.
* Neither of these use cases are largely effected by the issues above. * Neither of these use cases are largely effected by the issue above.