matteomattei / PySquashfsImage

Python library to read Squashfs image files.
GNU General Public License v3.0
50 stars 20 forks source link

Bugfixes and performance improvements #26

Closed mxmlnkn closed 6 months ago

mxmlnkn commented 6 months ago

Hi there,

I'm trying to write a squashfs backend for ratarmount. While doing so, I implemented some fixes and performance improvements, which can be found here.

The workarounds include:

Would you be interested in pull requests for any of these? I admit that the new file interface based on a simple int instead of a full inode object might be very specialized to my use case because I serialize it into a SQLite database, so I understand if you wouldn't want to merge that. The same could be said for the other points except the lz4 and lzma support, which I think should be merged upstream.

Additionally, it would be nice to:

matteomattei commented 6 months ago

Thanks for your support... I will be more than happy to merge back your changes to the mainstream. Unfortunately I don't have too much time to dedicate to this repo but if you submit a pull request I will merge it. Can you try to isolate the changes which are not strictly related to your use case in the PR?